- struct lu_nodemap *nodemap = PDE_DATA(inode);
-
- return single_open(file, nodemap_ranges_show, nodemap);
-}
-
-/**
- * Hash callback, reads and prints the exports attached to this nodemap.
- *
- * \param hs nodemap member hash
- * \param bd unused
- * \param hnode current member in hash
- * \param data seq_file to print to
- * \retval 0 success
- */
-static int nodemap_exports_show_cb(cfs_hash_t *hs, cfs_hash_bd_t *bd,
- struct hlist_node *hnode, void *data)
-{
- struct seq_file *m = data;
- struct obd_export *exp;
- char *key;
-
- exp = hlist_entry(hnode, struct obd_export,
- exp_target_data.ted_nodemap_member);
- key = cfs_hash_key(hs, hnode);
- seq_printf(m, " { nid: %s, uuid: %s },",
- obd_export_nid2str(exp), exp->exp_client_uuid.uuid);
-
- return 0;