summaryrefslogtreecommitdiffstats
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2014-10-24 00:14:38 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2014-10-24 00:14:38 +0200
commitcc2596392af3b1404421aaef828a255303c46f93 (patch)
tree5cce84e37ebeb3c0a73395af34081e080d51f0fa /block/blk-map.c
parente9be9d5e76e34872f0c37d72e25bc27fe9e2c54c (diff)
downloadlinux-cc2596392af3b1404421aaef828a255303c46f93.tar.gz
linux-cc2596392af3b1404421aaef828a255303c46f93.tar.bz2
linux-cc2596392af3b1404421aaef828a255303c46f93.zip
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>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions