diff options
| author | Al Viro <[email protected]> | 2018-07-09 01:45:07 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2018-07-11 03:29:03 +0000 |
| commit | 6b4e8085c0004382b985a5c005c685073630e746 (patch) | |
| tree | 9b7cc4226ab495fd2716e328754294028b973fb3 /fs/file_table.c | |
| parent | create_pipe_files(): use fput() if allocation of the second file fails (diff) | |
| download | kernel-6b4e8085c0004382b985a5c005c685073630e746.tar.gz kernel-6b4e8085c0004382b985a5c005c685073630e746.zip | |
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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
