diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-27 10:14:20 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-03 02:51:13 +0300 |
commit | fe9ec8291fcaa74badf0a67e3a82741b3ee40a9e (patch) | |
tree | 64c88e278d6171fcd759c495eb90c3cd1bf6abb4 /scripts/gdb/linux/utils.py | |
parent | 47f9dbd3877d9d9757366278a65d9fb3de5c1c4e (diff) | |
download | linux-fe9ec8291fcaa74badf0a67e3a82741b3ee40a9e.tar.xz |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions