commit | af2f55426d1d888dcc0ba8dc9e9deb49fae38e38 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Mon May 21 17:30:11 2012 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jun 01 12:11:58 2012 -0400 |
tree | 09a0e9d2b7cc722edf4cd6d1904a98630656a773 | |
parent | 54c33e7f95284539e52ec2d99dcdf6efd29b247f [diff] |
vfs: do_last(): check LOOKUP_DIRECTORY Check for ENOTDIR before finishing open. This allows this code to be shared between O_CREAT and plain opens. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>