From 48fc913f3dc6bfed692d68bd5299f4557f7aa54a Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 12 Aug 2003 17:45:39 +0000 Subject: [PATCH] Revert changes committed to b_devel for MDS-creates-objects. Changes will be committed into b_llpmd instead. We could, however, remove the OST open/close RPCs from b_devel as a starting point. --- lustre/mds/mds_internal.h | 1 - lustre/mds/mds_lib.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/mds/mds_internal.h b/lustre/mds/mds_internal.h index 0d9ef63..6855723 100644 --- a/lustre/mds/mds_internal.h +++ b/lustre/mds/mds_internal.h @@ -15,7 +15,6 @@ void mds_put_catalog(struct llog_handle *cathandle); /* mds/mds_reint.c */ -int mds_osc_connect(struct obd_device *obd, struct mds_obd *mds); void mds_commit_cb(struct obd_device *, __u64 last_rcvd, void *data, int error); int mds_finish_transno(struct mds_obd *mds, struct inode *inode, void *handle, struct ptlrpc_request *req, int rc, __u32 op_data); diff --git a/lustre/mds/mds_lib.c b/lustre/mds/mds_lib.c index ed495d8..ddd752a 100644 --- a/lustre/mds/mds_lib.c +++ b/lustre/mds/mds_lib.c @@ -60,7 +60,7 @@ void mds_pack_inode2fid(struct ll_fid *fid, struct inode *inode) /* Note that we can copy all of the fields, just some will not be "valid" */ void mds_pack_inode2body(struct mds_body *b, struct inode *inode) { - b->valid |= OBD_MD_FLID | OBD_MD_FLCTIME | OBD_MD_FLUID | OBD_MD_FLGID | + b->valid = OBD_MD_FLID | OBD_MD_FLCTIME | OBD_MD_FLUID | OBD_MD_FLGID | OBD_MD_FLTYPE | OBD_MD_FLMODE | OBD_MD_FLNLINK | OBD_MD_FLGENER; if (!S_ISREG(inode->i_mode)) -- 1.8.3.1