lkml.org 
[lkml]   [2022]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] nfs: Fix automount superblock LSM init problem, preventing sb sharing
Date
Paul Moore <paul@paul-moore.com> 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

\
 
 \ /
  Last update: 2022-08-18 15:16    [W:0.103 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site