X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Fobd.c;h=0fdec2290350d508e5ad9744c83eeb8f4e484f7c;hp=4bfb0cac89b014dbc078cf2b52548db251a52d71;hb=f7815c80d95b20c97317fbd7010013dca009121e;hpb=7532409b3a0760a74e0bbaa86ecb3a0a2d0d011d diff --git a/lustre/utils/obd.c b/lustre/utils/obd.c index 4bfb0ca..0fdec22 100644 --- a/lustre/utils/obd.c +++ b/lustre/utils/obd.c @@ -3669,7 +3669,7 @@ int jt_nodemap_modify(int argc, char **argv) if (nodemap_name == NULL || param == NULL || value == NULL) { fprintf(stderr, "usage: nodemap_modify --name " "--property --value \n"); - fprintf(stderr, "valid properties: admin trusted " + fprintf(stderr, "valid properties: admin trusted map_mode " "squash_uid squash_gid deny_unknown\n"); return -1; } @@ -3684,6 +3684,8 @@ int jt_nodemap_modify(int argc, char **argv) cmd = LCFG_NODEMAP_SQUASH_UID; } else if (strcmp("squash_gid", param) == 0) { cmd = LCFG_NODEMAP_SQUASH_GID; + } else if (strcmp("map_mode", param) == 0) { + cmd = LCFG_NODEMAP_MAP_MODE; } else { fprintf(stderr, "error: %s: nodemap_modify invalid " "subcommand: %s\n",