summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-05-21 19:30:18 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-06-01 20:12:01 +0400
commit50ee93afcaa970620d1fb5a9894109a2ab152868 (patch)
tree40aa31801f8b60f9f67ba168e438d4c947d502b3 /fs/namei.c
parent91daee988db38b0207eec719a3160b163c077007 (diff)
downloadlinux-50ee93afcaa970620d1fb5a9894109a2ab152868.tar.xz
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: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions