android_kernel_oneplus_msm8998/fs/fuse
Liu Bo 40857ab739 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
commit 0cbade024ba501313da3b7e5dd2a188a6bc491b5 upstream.

fstests generic/228 reported this failure that fuse fallocate does not
honor what 'ulimit -f' has set.

This adds the necessary inode_newsize_ok() check.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Fixes: 05ba1f0823 ("fuse: add FALLOCATE operation")
Cc: <stable@vger.kernel.org> # v3.5
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-11 12:23:46 +02:00
..
control.c fuse: fix control dir setup and teardown 2018-07-03 11:21:28 +02:00
cuse.c fuse: Add reference counting for fuse_io_priv 2016-04-12 09:08:58 -07:00
dev.c fuse: handle zero sized retrieve correctly 2019-02-20 10:13:16 +01:00
dir.c fuse: atomic_o_trunc should truncate pagecache 2018-07-03 11:21:28 +02:00
file.c fuse: honor RLIMIT_FSIZE in fuse_file_fallocate 2019-06-11 12:23:46 +02:00
fuse_i.h fuse: Dont call set_page_dirty_lock() for ITER_BVEC pages for async_dio 2018-11-10 07:41:37 -08:00
inode.c fuse: Fix oops at process_init_reply() 2018-09-05 09:18:39 +02:00
Kconfig fuse: Move CUSE Kconfig entry from fs/Kconfig into fs/fuse/Kconfig 2013-01-17 13:08:45 +01:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00