Commit cea43f43 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Ben Hutchings
Browse files

fuse: fallocate: fix return with locked inode



commit 35d6fcbb upstream.

Do the proper cleanup in case the size check fails.

Tested with xfstests:generic/228

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 0cbade02 ("fuse: honor RLIMIT_FSIZE in fuse_file_fallocate")
Cc: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent e09925b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment