From 46086f80b9f5ead5ca81a69fef6d63990d22ff4e Mon Sep 17 00:00:00 2001 From: huanghua Date: Fri, 11 Jul 2008 05:21:48 +0000 Subject: [PATCH] Branch b1_8_gate b=11930 i=adilger i=nikita.danilov i=alex --- lustre/include/lustre_mds.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lustre/include/lustre_mds.h b/lustre/include/lustre_mds.h index 47d5073..99c0186 100644 --- a/lustre/include/lustre_mds.h +++ b/lustre/include/lustre_mds.h @@ -171,8 +171,8 @@ struct obd_client_handle; void mdc_set_open_replay_data(struct obd_client_handle *och, struct ptlrpc_request *open_req); void mdc_clear_open_replay_data(struct obd_client_handle *och); -int mdc_close(struct obd_export *, struct obdo *, struct obd_client_handle *, - struct ptlrpc_request **); +int mdc_close(struct obd_export *, struct mdc_op_data *, struct obdo *, + struct obd_client_handle *, struct ptlrpc_request **); int mdc_readpage(struct obd_export *exp, struct ll_fid *mdc_fid, __u64 offset, struct page *, struct ptlrpc_request **); int mdc_create(struct obd_export *exp, struct mdc_op_data *op_data, @@ -196,10 +196,10 @@ int mdc_resource_get_unused(struct obd_export *exp, struct ll_fid *fid, void mdc_store_inode_generation(struct ptlrpc_request *req, int reqoff, int repoff); int mdc_llog_process(struct obd_export *, char *logname, llog_cb_t, void *data); -int mdc_done_writing(struct obd_export *exp, struct obdo *); +int mdc_done_writing(struct obd_export *, struct mdc_op_data *, struct obdo *); -static inline void mdc_pack_fid(struct ll_fid *fid, obd_id ino, __u32 gen, - int type) +static inline void ll_pack_fid(struct ll_fid *fid, obd_id ino, __u32 gen, + int type) { fid->id = ino; fid->generation = gen; -- 1.8.3.1