Whamcloud - gitweb
LU-10391 ptlrpc: lprocfs_exp_setup() to take struct lnet_nid
[fs/lustre-release.git] / lustre / include / lprocfs_status.h
index 7103ffa..76c1eec 100644 (file)
@@ -537,7 +537,7 @@ struct nid_stat;
 extern int lprocfs_add_clear_entry(struct obd_device *obd,
                                   struct proc_dir_entry *entry);
 #ifdef HAVE_SERVER_SUPPORT
-extern int lprocfs_exp_setup(struct obd_export *exp, lnet_nid_t *peer_nid);
+extern int lprocfs_exp_setup(struct obd_export *exp, struct lnet_nid *peer_nid);
 extern int lprocfs_exp_cleanup(struct obd_export *exp);
 struct dentry *ldebugfs_add_symlink(const char *name, const char *target,
                                    const char *format, ...);
@@ -974,7 +974,8 @@ ssize_t lprocfs_nid_stats_seq_write(struct file *file,
 static inline
 int lprocfs_nid_stats_clear_seq_show(struct seq_file *m, void *data)
 {return 0;}
-static inline int lprocfs_exp_setup(struct obd_export *exp,lnet_nid_t *peer_nid)
+static inline int lprocfs_exp_setup(struct obd_export *exp,
+                                   struct lnet_nid *peer_nid)
 { return 0; }
 #endif
 static inline int lprocfs_exp_cleanup(struct obd_export *exp)