projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
101f2bb
)
statmount: update STATMOUNT_SUPPORTED macro
author
Dmitry V. Levin
<ldv@strace.io>
Sun, 11 May 2025 22:49:53 +0000
(
01:49
+0300)
committer
Christian Brauner
<brauner@kernel.org>
Fri, 23 May 2025 12:20:45 +0000
(14:20 +0200)
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>
fs/namespace.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/namespace.c
b/fs/namespace.c
index 924298d11df7b209437bcea3fe33aa9d28eea09c..28e193324ba43d94049216c528cc608dfeb5da16 100644
(file)
--- 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)