summaryrefslogtreecommitdiffstats
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorChengguang Xu2018-07-19 16:15:26 +0200
committerIlya Dryomov2018-08-02 21:33:28 +0200
commit8687a3e2c7a026c173ac2e0d65d869c98c154a3a (patch)
tree22a099b8e861972165e9e736c335c2ed42bfb817 /fs/ceph/inode.c
parentceph: add additional range check in ceph_fallocate() (diff)
downloadkernel-qcow2-linux-8687a3e2c7a026c173ac2e0d65d869c98c154a3a.tar.gz
kernel-qcow2-linux-8687a3e2c7a026c173ac2e0d65d869c98c154a3a.tar.xz
kernel-qcow2-linux-8687a3e2c7a026c173ac2e0d65d869c98c154a3a.zip
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>
Diffstat (limited to 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions