Skip to content
Commit fe9ec829 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 47f9dbd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment