diff options
author | Liu Bo <bo.liu@linux.alibaba.com> | 2019-04-18 04:04:41 +0800 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-04-24 17:05:06 +0200 |
commit | 0cbade024ba501313da3b7e5dd2a188a6bc491b5 (patch) | |
tree | 5766b4c3a874f5c58bf2ebc91baa9ae845c83f70 /fs/anon_inodes.c | |
parent | 9de5be06d0a89ca97b5ab902694d42dfd2bb77d2 (diff) | |
download | linux-0cbade024ba501313da3b7e5dd2a188a6bc491b5.tar.bz2 |
fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
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: 05ba1f082300 ("fuse: add FALLOCATE operation")
Cc: <stable@vger.kernel.org> # v3.5
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions