Re: [PATCH v5 12/42] inode: make init and permission helpers idmapped mount aware

From
Christoph Hellwig <hch@infradead.org>
Date
2021-01-19 22:55:42
Also in
linux-api, linux-fsdevel, linux-integrity, linux-security-module, linux-xfs, selinux
Reply to
Christian Brauner, 2021-01-12
quoted hunk ↗ jump to hunk
@@ -1761,8 +1761,8 @@ static inline bool sb_start_intwrite_trylock(struct super_block *sb)
 	return __sb_start_write_trylock(sb, SB_FREEZE_FS);
 }
 
-
-extern bool inode_owner_or_capable(const struct inode *inode);
+extern bool inode_owner_or_capable(struct user_namespace *mnt_userns,
+				   const struct inode *inode);
While you're at it - it would be nice to drop the superflous externs in
the headers.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Thread (82 messages) 82 messages, 7 authors, last reply 2021-01-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help