-
- Downloads
[PATCH] VFS: Permit filesystem to perform statfs with a known root dentry
Give the statfs superblock operation a dentry pointer rather than a superblock pointer. This complements the get_sb() patch. That reduced the significance of sb->s_root, allowing NFS to place a fake root there. However, NFS does require a dentry to use as a target for the statfs operation. This permits the root in the vfsmount to be used instead. linux/mount.h has been added where necessary to make allyesconfig build successfully. Interest has also been expressed for use with the FUSE and XFS filesystems. Signed-off-by:David Howells <dhowells@redhat.com> Acked-by:
Al Viro <viro@zeniv.linux.org.uk> Cc: Nathan Scott <nathans@sgi.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- Documentation/filesystems/Locking 1 addition, 1 deletionDocumentation/filesystems/Locking
- Documentation/filesystems/vfs.txt 1 addition, 1 deletionDocumentation/filesystems/vfs.txt
- arch/alpha/kernel/osf_sys.c 1 addition, 1 deletionarch/alpha/kernel/osf_sys.c
- arch/mips/kernel/sysirix.c 6 additions, 6 deletionsarch/mips/kernel/sysirix.c
- arch/parisc/hpux/sys_hpux.c 5 additions, 5 deletionsarch/parisc/hpux/sys_hpux.c
- arch/sparc64/solaris/fs.c 2 additions, 2 deletionsarch/sparc64/solaris/fs.c
- fs/adfs/super.c 4 additions, 4 deletionsfs/adfs/super.c
- fs/affs/super.c 3 additions, 2 deletionsfs/affs/super.c
- fs/befs/linuxvfs.c 3 additions, 2 deletionsfs/befs/linuxvfs.c
- fs/bfs/inode.c 2 additions, 1 deletionfs/bfs/inode.c
- fs/cifs/cifsfs.c 2 additions, 1 deletionfs/cifs/cifsfs.c
- fs/coda/inode.c 3 additions, 3 deletionsfs/coda/inode.c
- fs/coda/upcall.c 2 additions, 2 deletionsfs/coda/upcall.c
- fs/compat.c 4 additions, 4 deletionsfs/compat.c
- fs/cramfs/inode.c 3 additions, 1 deletionfs/cramfs/inode.c
- fs/efs/super.c 3 additions, 3 deletionsfs/efs/super.c
- fs/ext2/super.c 3 additions, 2 deletionsfs/ext2/super.c
- fs/ext3/super.c 3 additions, 2 deletionsfs/ext3/super.c
- fs/fat/inode.c 4 additions, 4 deletionsfs/fat/inode.c
- fs/freevxfs/vxfs_super.c 7 additions, 6 deletionsfs/freevxfs/vxfs_super.c
Loading
Please register or sign in to comment