commit | 90ad1a8ecb9bfd5ff4503ac42cd049a97643ee51 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Mon May 21 17:30:15 2012 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jun 01 12:12:00 2012 -0400 |
tree | 0e41482d5706e153045c0635c53bb2d9d8c3e704 | |
parent | 5f5daac12a4cef568d1269be0215fec0667193c1 [diff] |
vfs: split __dentry_open() Split __dentry_open() into two functions: do_dentry_open() - does most of the actual work, doesn't put file on failure open_check_o_direct() - after a successful open, checks direct_IO method This will allow i_op->atomic_open to do just the file initialization and leave the direct_IO checking to the VFS. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>