commit | 8687a3e2c7a026c173ac2e0d65d869c98c154a3a | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Thu Jul 19 22:15:26 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Aug 02 21:33:28 2018 +0200 |
tree | 22a099b8e861972165e9e736c335c2ed42bfb817 | |
parent | 0671e9968dfb3f99a366df816c361b8e871dba1b [diff] |
ceph: add additional offset check in ceph_write_iter() If the offset is larger or equal to both real file size and 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>