diff options
author | 2025-05-12 01:49:53 +0300 | |
---|---|---|
committer | 2025-05-23 14:20:45 +0200 | |
commit | 2b3c61b87519ff5d52fd9d6eb2632975f4e18b04 (patch) | |
tree | 0b662063596bfa76b036413eaccbbb46ac13fb73 /fs/namespace.c | |
parent | fs: convert mount flags to enum (diff) | |
download | linux-rng-2b3c61b87519ff5d52fd9d6eb2632975f4e18b04.tar.xz linux-rng-2b3c61b87519ff5d52fd9d6eb2632975f4e18b04.zip |
statmount: update STATMOUNT_SUPPORTED macro
According to commit 8f6116b5b77b ("statmount: add a new supported_mask
field"), STATMOUNT_SUPPORTED macro shall be updated whenever a new flag
is added.
Fixes: 7a54947e727b ("Merge patch series "fs: allow changing idmappings"")
Signed-off-by: "Dmitry V. Levin" <ldv@strace.io>
Link: https://lore.kernel.org/20250511224953.GA17849@strace.io
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 924298d11df7..28e193324ba4 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -5797,7 +5797,9 @@ static int grab_requested_root(struct mnt_namespace *ns, struct path *root) STATMOUNT_SB_SOURCE | \ STATMOUNT_OPT_ARRAY | \ STATMOUNT_OPT_SEC_ARRAY | \ - STATMOUNT_SUPPORTED_MASK) + STATMOUNT_SUPPORTED_MASK | \ + STATMOUNT_MNT_UIDMAP | \ + STATMOUNT_MNT_GIDMAP) static int do_statmount(struct kstatmount *s, u64 mnt_id, u64 mnt_ns_id, struct mnt_namespace *ns) |