From e9735dd5614ad8cdff90441c8e3a85cb716acc3b Mon Sep 17 00:00:00 2001 From: bobijam Date: Wed, 6 Aug 2008 02:44:50 +0000 Subject: [PATCH] Branch b1_8_gate b=16317 o=Herb Wartens(hwartens@llnl.gov) i=wangdi, johann Description: exports in /proc are broken Details : recreate /proc entries for clients when they reconnect. --- lustre/mgs/mgs_internal.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lustre/mgs/mgs_internal.h b/lustre/mgs/mgs_internal.h index 8ed4114..6a81fde 100644 --- a/lustre/mgs/mgs_internal.h +++ b/lustre/mgs/mgs_internal.h @@ -50,7 +50,7 @@ /* mgs_llog.c */ int class_dentry_readdir(struct obd_device *obd, struct dentry *dir, - struct vfsmount *inmnt, + struct vfsmount *inmnt, struct list_head *dentry_list); #define INDEX_MAP_SIZE 8192 /* covers indicies to FFFF */ @@ -83,7 +83,9 @@ int mgs_erase_logs(struct obd_device *obd, char *fsname); int mgs_setparam(struct obd_device *obd, struct lustre_cfg *lcfg, char *fsname); /* mgs_fs.c */ -int mgs_client_add(struct obd_device *obd, struct obd_export *exp); +int mgs_client_add(struct obd_device *obd, + struct obd_export *exp, + void *localdata); int mgs_client_free(struct obd_export *exp); int mgs_fs_setup(struct obd_device *obd, struct vfsmount *mnt); int mgs_fs_cleanup(struct obd_device *obddev); @@ -97,7 +99,7 @@ int lproc_mgs_add_live(struct obd_device *obd, struct fs_db *fsdb); int lproc_mgs_del_live(struct obd_device *obd, struct fs_db *fsdb); void lprocfs_mgs_init_vars(struct lprocfs_static_vars *lvars); #else -static inline int lproc_mgs_setup(struct obd_device *dev) +static inline int lproc_mgs_setup(struct obd_device *dev) {return 0;} static inline int lproc_mgs_cleanup(struct obd_device *obd) {return 0;} -- 1.8.3.1