summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-06-07 21:53:51 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-06-07 21:53:51 -0400
commita01e718f7241c53f564402f7acff373eed5bd166 (patch)
treecea10fecfae5e081e954861905c25a7f22143444 /fs/binfmt_elf_fdpic.c
parent3d56c25e3bb0726a5c5e16fc2d9e38f8ed763085 (diff)
downloadop-kernel-dev-a01e718f7241c53f564402f7acff373eed5bd166.zip
op-kernel-dev-a01e718f7241c53f564402f7acff373eed5bd166.tar.gz
fix a regression in atomic_open()
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>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud