diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-09-17 11:26:06 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-10-14 19:03:40 +0200 |
commit | a4483e8a424d76bc1dfacdd94e739fba29d7f83f (patch) | |
tree | d5b88ea82a6ef8722ec2c6c4a26cfd723e614c06 /firmware/qlogic/isp1000.bin.ihex | |
parent | ceph: remove redundant io_iter_advance() (diff) | |
download | linux-a4483e8a424d76bc1dfacdd94e739fba29d7f83f.tar.xz linux-a4483e8a424d76bc1dfacdd94e739fba29d7f83f.zip |
ceph: remove redundant code for max file size verification
Both ceph_update_writeable_page and ceph_setattr will verify file size
with max size ceph supported.
There are two caller for ceph_update_writeable_page, ceph_write_begin and
ceph_page_mkwrite. For ceph_write_begin, we have already verified the size in
generic_write_checks of ceph_write_iter; for ceph_page_mkwrite, we have no
chance to change file size when mmap. Likewise we have already verified the size
in inode_change_ok when we call ceph_setattr.
So let's remove the redundant code for max file size verification.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions