commit | 0cbade024ba501313da3b7e5dd2a188a6bc491b5 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.liu@linux.alibaba.com> | Thu Apr 18 04:04:41 2019 +0800 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Apr 24 17:05:06 2019 +0200 |
tree | 5766b4c3a874f5c58bf2ebc91baa9ae845c83f70 | |
parent | 9de5be06d0a89ca97b5ab902694d42dfd2bb77d2 [diff] |
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>