Skip to content
Commit 50ee93af authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Al Viro
Browse files

vfs: nameidata_to_filp(): don't throw away file on error



If open fails, don't put the file.  This allows it to be reused if open needs to
be retried.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 91daee98
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