diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-09-16 14:51:59 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-16 19:17:24 -0400 |
commit | dfb1d61b0e9f9e2c542e9adc8d970689f4114ff6 (patch) | |
tree | 7cb3e3a9742cee2298e90db10d1f07b517cf66c8 /fs/gfs2 | |
parent | 0854d450e229e37102a76e3ccf065d8e8137846f (diff) | |
download | linux-dfb1d61b0e9f9e2c542e9adc8d970689f4114ff6.tar.gz linux-dfb1d61b0e9f9e2c542e9adc8d970689f4114ff6.tar.bz2 linux-dfb1d61b0e9f9e2c542e9adc8d970689f4114ff6.zip |
cifs: fix filp leak in cifs_atomic_open()
If an error occurs after having called finish_open() then fput() needs to
be called on the already opened file.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Steve French <sfrench@samba.org>
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions