ceph: check return value for start_request in writepages
authorSage Weil <sage@newdream.net>
Thu, 12 May 2011 22:48:16 +0000 (15:48 -0700)
committerSage Weil <sage@newdream.net>
Thu, 19 May 2011 18:25:05 +0000 (11:25 -0700)
commit9d6fcb081a4770c3772c51c59c7251c22716d7bb
tree8827d90aff9d7f463cb429aff1ecd22dde6a77a6
parent6b4a3b517a767c483d16a200730b2967e0e23b83
ceph: check return value for start_request in writepages

Since we pass the nofail arg, we should never get an error; BUG if we do.
(And fix the function to not return an error if __map_request fails.)

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c
net/ceph/osd_client.c