On Wed, Feb 21, 2024 at 08:52:33AM -0600, Eric Sandeen wrote: > On 2/21/24 12:23 AM, Christian Brauner wrote: > >> @@ -313,18 +342,45 @@ static int coda_statfs(struct dentry *dentry, struct kstatfs *buf) > >> return 0; > >> } > >> > >> -/* init_coda: used by filesystems.c to register coda */ > >> +static int coda_get_tree(struct fs_context *fc) > >> +{ > >> + if (task_active_pid_ns(current) != &init_pid_ns) > >> + return -EINVAL; > > Fwiw, this check is redundant since you're performing the same check in > > coda_fill_super() again. > > That's an error on my part, sorry - David had it removed in his original > patch and I missed it. Would you like me to send a V2? Ah, no need. I could've just removed it but since you did anyway I'll just take your v2. Thank you!