Revision a01e718f7241c53f564402f7acff373eed5bd166 authored by Al Viro on 08 June 2016, 01:53:51 UTC, committed by Al Viro on 08 June 2016, 01:53:51 UTC
open("/foo/no_such_file", O_RDONLY | O_CREAT) on should fail with EACCES when /foo is not writable; failing with ENOENT is obviously wrong. That got broken by a braino introduced when moving the creat_error logics from atomic_open() to lookup_open(). Easy to fix, fortunately. Spotted-by: "Yan, Zheng" <ukernel@gmail.com> Tested-by: "Yan, Zheng" <ukernel@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 3d56c25
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.0 KB |
Makefile | -rw-r--r-- | 157 bytes |
adfs.h | -rw-r--r-- | 5.6 KB |
dir.c | -rw-r--r-- | 5.4 KB |
dir_f.c | -rw-r--r-- | 10.4 KB |
dir_f.h | -rw-r--r-- | 1.2 KB |
dir_fplus.c | -rw-r--r-- | 6.2 KB |
dir_fplus.h | -rw-r--r-- | 1014 bytes |
file.c | -rw-r--r-- | 810 bytes |
inode.c | -rw-r--r-- | 9.4 KB |
map.c | -rw-r--r-- | 6.9 KB |
super.c | -rw-r--r-- | 13.4 KB |
Computing file changes ...