diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-06-08 20:01:49 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-12 17:04:17 +0300 |
commit | 69527c554f82d4bca4b154ccc06ad1554806bdc0 (patch) | |
tree | 5b920d336fac1fb8a0385228734f5156fce452b8 /.mailmap | |
parent | 7c1c01ec20d61ef52dba9b6f85435e53449bea71 (diff) | |
download | linux-69527c554f82d4bca4b154ccc06ad1554806bdc0.tar.xz |
now we can fold open_check_o_direct() into do_dentry_open()
These checks are better off in do_dentry_open(); the reason we couldn't
put them there used to be that callers couldn't tell what kind of cleanup
would do_dentry_open() failure call for. Now that we have FMODE_OPENED,
cleanup is the same in all cases - it's simply fput(). So let's fold
that into do_dentry_open(), as Christoph's patch tried to.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions