ceph: fix ceph_writepages_start()
authorYan, Zheng <zyan@redhat.com>
Wed, 17 Jun 2015 19:10:58 +0000 (03:10 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jun 2015 15:30:53 +0000 (18:30 +0300)
commite1966b49446a43994c3f25a07d0eb4d05660b429
tree43464087b52c41e58396f7805783bd9e627d2bfb
parentd3834fefcfe5610702379d78596337875df2db5b
ceph: fix ceph_writepages_start()

Before a page get locked, someone else can write data to the page
and increase the i_size. So we should re-check the i_size after
pages are locked.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c