commit | fe9ec8291fcaa74badf0a67e3a82741b3ee40a9e | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Apr 27 03:14:20 2016 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon May 02 19:51:13 2016 -0400 |
tree | 64c88e278d6171fcd759c495eb90c3cd1bf6abb4 | |
parent | 47f9dbd3877d9d9757366278a65d9fb3de5c1c4e [diff] |
do_last(): take fput() on error after opening to out: make it conditional on *opened & FILE_OPENED; in addition to getting rid of exit_fput: thing, it simplifies atomic_open() cleanup on may_open() failure. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>