diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 59e8bb72dc14f31fbd31b555474cb71b4e8b6e75..9a22aa580fe7a5f56149efd2c35ab829000d09bb 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -2981,7 +2981,7 @@ static long fuse_file_fallocate(struct file *file, int mode, loff_t offset, offset + length > i_size_read(inode)) { err = inode_newsize_ok(inode, offset + length); if (err) - return err; + goto out; } if (!(mode & FALLOC_FL_KEEP_SIZE))