commit | 4af6b2257ee0eb8f4bf3b1dc8acb643c0e8a887f | [log] [tgz] |
---|---|---|
author | Yehuda Sadeh <yehuda@hq.newdream.net> | Tue Feb 09 11:02:51 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Thu Feb 11 11:48:50 2010 -0800 |
tree | 6193e59ebd7806d286e16e091a5acf98bceae424 | |
parent | 972f0d3ab1a15cb5d790dd8c53903066084b28f2 [diff] |
ceph: refactor ceph_write_begin, fix ceph_page_mkwrite 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>