From cd33f8344e0fde889304d422bf6e8abd6cde9df1 Mon Sep 17 00:00:00 2001 From: Kit Westneat Date: Mon, 27 Mar 2017 12:27:27 -0400 Subject: [PATCH] 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 --- lustre/mdt/mdt_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 1.8.3.1