From: bobijam Date: Wed, 6 Aug 2008 02:44:50 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_100~1^318~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e9735dd5614ad8cdff90441c8e3a85cb716acc3b;p=fs%2Flustre-release.git 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. --- 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;}