commit | e1966b49446a43994c3f25a07d0eb4d05660b429 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Jun 18 03:10:58 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Jun 25 18:30:53 2015 +0300 |
tree | 43464087b52c41e58396f7805783bd9e627d2bfb | |
parent | d3834fefcfe5610702379d78596337875df2db5b [diff] |
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>