ceph: refactor ceph_write_begin, fix ceph_page_mkwrite
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 9 Feb 2010 19:02:51 +0000 (11:02 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Feb 2010 19:48:50 +0000 (11:48 -0800)
Originally ceph_page_mkwrite called ceph_write_begin, hoping that
the returned locked page would be the page that it was requested
to mkwrite. Factored out relevant part of ceph_page_mkwrite and
we lock the right page anyway.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found