OpenCloudOS-Kernel/fs/overlayfs
Andy Whitcroft cc2596392a overlayfs: add statfs support
Add support for statfs to the overlayfs filesystem.  As the upper layer
is the target of all write operations assume that the space in that
filesystem is the space in the overlayfs.  There will be some inaccuracy as
overwriting a file will copy it up and consume space we were not expecting,
but it is better than nothing.

Use the upper layer dentry and mount from the overlayfs root inode,
passing the statfs call to that filesystem.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2014-10-24 00:14:38 +02:00
..
Kconfig overlay filesystem 2014-10-24 00:14:38 +02:00
Makefile overlay filesystem 2014-10-24 00:14:38 +02:00
copy_up.c overlay filesystem 2014-10-24 00:14:38 +02:00
dir.c overlay filesystem 2014-10-24 00:14:38 +02:00
inode.c overlay filesystem 2014-10-24 00:14:38 +02:00
overlayfs.h overlay filesystem 2014-10-24 00:14:38 +02:00
readdir.c overlay filesystem 2014-10-24 00:14:38 +02:00
super.c overlayfs: add statfs support 2014-10-24 00:14:38 +02:00