From dde07e1486f05edcf801926be7f0bc90061b71d4 Mon Sep 17 00:00:00 2001 From: huanghua Date: Thu, 17 Jul 2008 14:43:31 +0000 Subject: [PATCH] Branch b1_8_gate b=15993 a=17865 i=adilger,nikita a=17883 i=adilger - remove common EA (in downgraded mode) if it exists, and its test case. --- lustre/mds/mds_internal.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lustre/mds/mds_internal.h b/lustre/mds/mds_internal.h index 34afe98..a0a890e 100644 --- a/lustre/mds/mds_internal.h +++ b/lustre/mds/mds_internal.h @@ -9,7 +9,8 @@ #include #define MDT_ROCOMPAT_SUPP (OBD_ROCOMPAT_LOVOBJID) -#define MDT_INCOMPAT_SUPP (OBD_INCOMPAT_MDT | OBD_INCOMPAT_COMMON_LR) +#define MDT_INCOMPAT_SUPP (OBD_INCOMPAT_MDT | OBD_INCOMPAT_COMMON_LR | \ + OBD_INCOMPAT_FID) #define MDS_SERVICE_WATCHDOG_FACTOR 2000 @@ -156,6 +157,11 @@ int mds_get_parents_children_locked(struct obd_device *obd, struct lustre_handle *dlm_handles, int child_mode); +struct dentry *mds_lookup(struct obd_device *obd, + const char *fid_name, + struct dentry *dparent, + int fid_namelen); + void mds_shrink_reply(struct obd_device *obd, struct ptlrpc_request *req, struct mds_body *body, int md_off); int mds_get_cookie_size(struct obd_device *obd, struct lov_mds_md *lmm); -- 1.8.3.1