Thread (6 messages) 6 messages, 4 authors, 2022-08-19

Re: [PATCH v3] nfs: Fix automount superblock LSM init problem, preventing sb sharing

From: David Howells <dhowells@redhat.com>
Date: 2022-08-18 13:15:08
Also in: linux-fsdevel, linux-nfs, lkml, selinux

Paul Moore [off-list ref] wrote:
I guess my question is this: for inodes inside the superblock, does
their superblock pointer point to the submount's superblock, or the
parent filesystem's superblock?
They have to point to the submount superblock.  Too many things would break, I
think, if inode->i_sb pointed to the wrong place.  As far as the VFS is
concerned, apart from the way it is mounted, it's a perfectly normal
superblock.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help