diff options
author | Liu Bo <bo.liu@linux.alibaba.com> | 2019-04-18 04:04:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-25 18:25:21 +0200 |
commit | c63281c7760aa88321e144aca8d0d5826fa8e6ae (patch) | |
tree | cc29808c64f09642779ce96f581b6ca350594d2e /drivers/iommu | |
parent | d4ebbb5fef7dbbb3f8acc0a4b24fd11213cc45e8 (diff) |
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: 05ba1f082300 ("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>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions