Skip to content

Commit 2b3c61b

Browse files
ldv-altbrauner
authored andcommitted
statmount: update STATMOUNT_SUPPORTED macro
According to commit 8f6116b ("statmount: add a new supported_mask field"), STATMOUNT_SUPPORTED macro shall be updated whenever a new flag is added. Fixes: 7a54947 ("Merge patch series "fs: allow changing idmappings"") Signed-off-by: "Dmitry V. Levin" <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 101f2bb commit 2b3c61b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fs/namespace.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5797,7 +5797,9 @@ static int grab_requested_root(struct mnt_namespace *ns, struct path *root)
57975797
STATMOUNT_SB_SOURCE | \
57985798
STATMOUNT_OPT_ARRAY | \
57995799
STATMOUNT_OPT_SEC_ARRAY | \
5800-
STATMOUNT_SUPPORTED_MASK)
5800+
STATMOUNT_SUPPORTED_MASK | \
5801+
STATMOUNT_MNT_UIDMAP | \
5802+
STATMOUNT_MNT_GIDMAP)
58015803

58025804
static int do_statmount(struct kstatmount *s, u64 mnt_id, u64 mnt_ns_id,
58035805
struct mnt_namespace *ns)

0 commit comments

Comments
 (0)