commit | 0671e9968dfb3f99a366df816c361b8e871dba1b | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Thu Jul 19 22:15:25 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Aug 02 21:33:28 2018 +0200 |
tree | 5abae989553cfe457b8da5d85af9af52ad969943 | |
parent | 719784ba706cdbb47ef87483950f0a4594d36e87 [diff] |
ceph: add additional range check in ceph_fallocate() If the range is larger than both real file size and limit of max file size, then return -EFBIG. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>