From: Kit Westneat Date: Mon, 27 Mar 2017 16:27:27 +0000 (-0400) Subject: LU-9258 nodemap: group quota ID not properly mapped X-Git-Tag: 2.9.57~53 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F26209%2F4;p=fs%2Flustre-release.git LU-9258 nodemap: group quota ID not properly mapped This patch fixes a typo in which group quota IDs were mapped as user IDs for quota commands. Test-Parameters: trivial Signed-off-by: Kit Westneat Change-Id: I9458b4af04a3638fb8ccf3bd2a96b30305021514 Reviewed-on: https://review.whamcloud.com/26209 Tested-by: Jenkins Reviewed-by: Stephan Thiell Reviewed-by: Emoly Liu Reviewed-by: Andreas Dilger Tested-by: Maloo --- diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 6b31479..e96a17b 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -2153,7 +2153,7 @@ static int mdt_quotactl(struct tgt_session_info *tsi) NODEMAP_CLIENT_TO_FS, id); break; case GRPQUOTA: - id = nodemap_map_id(nodemap, NODEMAP_UID, + id = nodemap_map_id(nodemap, NODEMAP_GID, NODEMAP_CLIENT_TO_FS, id); break; case PRJQUOTA: