ceph: fix copy_user_to_page_vector()
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 31 Dec 2009 20:04:58 +0000 (12:04 -0800)
committerSage Weil <sage@newdream.net>
Thu, 7 Jan 2010 00:05:20 +0000 (16:05 -0800)
commit6a4ef48103a78a46b80e07fcd8ac4edda0c7128f
treeb9cf0fcb4e83400b10e3e3940f274dd9724a2499
parent93cea5bebf91319095db866163a7e35c3e77d8f2
ceph: fix copy_user_to_page_vector()

The function was broken in the case where there was more than one page
involved, broke the ceph sync_write case.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/file.c