diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-09 04:45:07 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-11 06:29:03 +0300 |
commit | 6b4e8085c0004382b985a5c005c685073630e746 (patch) | |
tree | 9b7cc4226ab495fd2716e328754294028b973fb3 /ipc/shm.c | |
parent | b10a4a9f7695335bd2bb19bffdda7fbefbc6581f (diff) | |
download | linux-6b4e8085c0004382b985a5c005c685073630e746.tar.xz |
make sure do_dentry_open() won't return positive as an error
An ->open() instances really, really should not be doing that. There's
a lot of places e.g. around atomic_open() that could be confused by that,
so let's catch that early.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions