]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fuse: use dentry in statfs
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 29 Sep 2006 08:59:34 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:08 +0000 (09:18 -0700)
commitc72512d216b658108083d931a73e51831c2e645e
treee741e98a2a205b1f76adeb175b8468450fd0d9bf
parent83728b5e70c88d591333ec4fd3e6b094826921eb
[PATCH] fuse: use dentry in statfs

Some filesystems may want to report different values depending on the path
within the filesystem, i.e.  one mount is actually several filesystems.  This
can be the case for a network filesystem exported by an unprivileged server
(e.g.  sshfs).

This is now possible, thanks to David Howells "VFS: Permit filesystem to
perform statfs with a known root dentry" patch.

This change is backward compatible, so no need to change interface version.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/inode.c