Whamcloud - gitweb
LU-16438 llite: remove false outdated comment 39/49539/3
authorAurelien Degremont <degremoa@amazon.com>
Mon, 2 Jan 2023 16:04:31 +0000 (16:04 +0000)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Jan 2023 07:59:18 +0000 (07:59 +0000)
Old commit 99727c7a1 from Lustre 2.6 changed
ll_i2gids() behavior without updating the function
documentation accordingly. Fix it as this is confusing.

Test-Parameters: trivial
Fixes: 99727c7 ("LU-4476 kernel: support process namespace containers")
Change-Id: Iccc50fe6ac9e02de9bae7fd8f91e3e73ff45e327
Signed-off-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49539
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/namei.c

index 24cb5a8..9d2e37e 100644 (file)
@@ -534,10 +534,7 @@ __u32 ll_i2suppgid(struct inode *i)
                return (__u32) __kgid_val(INVALID_GID);
 }
 
-/* Pack the required supplementary groups into the supplied groups array.
- * If we don't need to use the groups from the target inode(s) then we
- * instead pack one or more groups from the user's supplementary group
- * array in case it might be useful.  Not needed if doing an MDS-side upcall. */
+/* Pack the required supplementary groups into the supplied groups array. */
 void ll_i2gids(__u32 *suppgids, struct inode *i1, struct inode *i2)
 {
        LASSERT(i1 != NULL);