commit | 35d6fcbb7c3e296a52136347346a698a35af3fda | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Mon May 27 11:42:07 2019 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Mon May 27 11:42:35 2019 +0200 |
tree | 19075d9f089e973f16320ee6354722aaf17460b9 | |
parent | cd6c84d8f0cdc911df435bb075ba22ce3c605b07 [diff] |
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>