diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2019-05-27 11:42:07 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-05-27 11:42:35 +0200 |
commit | 35d6fcbb7c3e296a52136347346a698a35af3fda (patch) | |
tree | 19075d9f089e973f16320ee6354722aaf17460b9 /ipc | |
parent | cd6c84d8f0cdc911df435bb075ba22ce3c605b07 (diff) | |
download | linux-35d6fcbb7c3e296a52136347346a698a35af3fda.tar.gz linux-35d6fcbb7c3e296a52136347346a698a35af3fda.tar.bz2 linux-35d6fcbb7c3e296a52136347346a698a35af3fda.zip |
fuse: fallocate: fix return with locked inode
Do the proper cleanup in case the size check fails.
Tested with xfstests:generic/228
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 0cbade024ba5 ("fuse: honor RLIMIT_FSIZE in fuse_file_fallocate")
Cc: Liu Bo <bo.liu@linux.alibaba.com>
Cc: <stable@vger.kernel.org> # v3.5
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions