libceph, rbd: add error handling for osd_req_op_cls_init()
[sfrench/cifs-2.6.git] / include / linux / ceph / osd_client.h
index 96bb3228598927c0cb089b5f4fa88da445cd1b26..b73dd7ebe585a523f32c5cf552b5d786b33e8dd2 100644 (file)
@@ -440,7 +440,7 @@ extern void osd_req_op_cls_response_data_pages(struct ceph_osd_request *,
                                        struct page **pages, u64 length,
                                        u32 alignment, bool pages_from_pool,
                                        bool own_pages);
-extern void osd_req_op_cls_init(struct ceph_osd_request *osd_req,
+extern int osd_req_op_cls_init(struct ceph_osd_request *osd_req,
                                        unsigned int which, u16 opcode,
                                        const char *class, const char *method);
 extern int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which,