statmount_mnt_basic(): simplify the logics for group id
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 25 Jun 2025 19:10:52 +0000 (15:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jun 2025 23:03:46 +0000 (19:03 -0400)
commita7cce099450f8fc597a6ac215440666610895fb7
treef04754823fbaaebdf70586df9fac4e5fab624033
parentf6cc2f4e3d304c93b44c80f50430aa40e080cc3c
statmount_mnt_basic(): simplify the logics for group id

We are holding namespace_sem shared and we have not done any group
id allocations since we grabbed it.  Therefore IS_MNT_SHARED(m)
is equivalent to non-zero m->mnt_group_id.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c