diff options
| author | Luis Henriques <[email protected]> | 2017-05-05 17:28:44 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2017-05-24 16:10:54 +0000 |
| commit | 42c99fc4c7069371da7b04b9099319dd1c633ee2 (patch) | |
| tree | c4d4c136eb0924a4e4f23c8dfcb53eff507c8eac /fs/jbd2/commit.c | |
| parent | libceph: cleanup old messages according to reconnect seq (diff) | |
| download | kernel-42c99fc4c7069371da7b04b9099319dd1c633ee2.tar.gz kernel-42c99fc4c7069371da7b04b9099319dd1c633ee2.zip | |
ceph: check that the new inode size is within limits in ceph_fallocate()
Currently the ceph client doesn't respect the rlimit in fallocate. This
means that a user can allocate a file with size > RLIMIT_FSIZE. This
patch adds the call to inode_newsize_ok() to verify filesystem limits and
ulimits. This should make ceph successfully run xfstest generic/228.
Signed-off-by: Luis Henriques <[email protected]>
Reviewed-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
