X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fnodemap_internal.h;h=4b8312e2a97102641785a7b8598e923f86efcf82;hb=d15b0bd6949d18e5abf29033af36186269b48c01;hp=5d75fd7123b8af95c51cbdd0d6ffc697d4c74ee8;hpb=be7efb4ce06996444c08914305a73833a7123eeb;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/nodemap_internal.h b/lustre/ptlrpc/nodemap_internal.h index 5d75fd7..4b8312e 100644 --- a/lustre/ptlrpc/nodemap_internal.h +++ b/lustre/ptlrpc/nodemap_internal.h @@ -22,7 +22,7 @@ /* * Copyright (C) 2013, Trustees of Indiana University * - * Copyright (c) 2013, 2014, Intel Corporation. + * Copyright (c) 2013, 2017, Intel Corporation. * * Author: Joshua Walgenbach */ @@ -35,12 +35,6 @@ #define DEFAULT_NODEMAP "default" -/* Turn on proc debug interface to allow OSS and - * MDS nodes to configure nodemap independently of - * MGS (since the nodemap distribution is not written - * yet */ -#define NODEMAP_PROC_DEBUG 1 - /* Default nobody uid and gid values */ #define NODEMAP_NOBODY_UID 99 @@ -141,8 +135,9 @@ int range_parse_nidstring(char *range_string, lnet_nid_t *start_nid, lnet_nid_t *end_nid); void range_init_tree(void); struct lu_idmap *idmap_create(__u32 client_id, __u32 fs_id); -void idmap_insert(enum nodemap_id_type id_type, struct lu_idmap *idmap, - struct lu_nodemap *nodemap); +struct lu_idmap *idmap_insert(enum nodemap_id_type id_type, + struct lu_idmap *idmap, + struct lu_nodemap *nodemap); void idmap_delete(enum nodemap_id_type id_type, struct lu_idmap *idmap, struct lu_nodemap *nodemap); void idmap_delete_tree(struct lu_nodemap *nodemap);