diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-05-21 19:30:18 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 20:12:01 +0400 |
commit | 50ee93afcaa970620d1fb5a9894109a2ab152868 (patch) | |
tree | 40aa31801f8b60f9f67ba168e438d4c947d502b3 /fs/namei.c | |
parent | 91daee988db38b0207eec719a3160b163c077007 (diff) | |
download | linux-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