aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLeann Ogasawara <leann.ogasawara@canonical.com>2011-08-15 13:04:48 -0700
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:25:31 -0700
commitdaf0c096df6f3f67dd263bf092da9ab025606c7e (patch)
treec327f133e0baf7aaf2fd139d1a79839ad0dddcae /fs
parent5f718c0521611e42a1aa9ab7eb7a24209014485e (diff)
downloadlinux-linaro-precise-daf0c096df6f3f67dd263bf092da9ab025606c7e.tar.gz
Revert "UBUNTU: ubuntu: overlayfs -- overlayfs: add statfs support"
This reverts commit 70dc86677da31d4ecaf70c5f86cb3881c58594ac.
Diffstat (limited to 'fs')
-rw-r--r--fs/overlayfs/super.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index c9db954b136..a344b427473 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -385,29 +385,9 @@ static int ovl_remount_fs(struct super_block *sb, int *flagsp, char *data)
return mnt_want_write(ufs->upper_mnt);
}
-/**
- * ovl_statfs
- * @sb: The overlayfs super block
- * @buf: The struct kstatfs to fill in with stats
- *
- * Get the filesystem statistics. As writes always target the upper layer
- * filesystem pass the statfs to the same filesystem.
- */
-static int ovl_statfs(struct dentry *dentry, struct kstatfs *buf)
-{
- struct dentry *root_dentry = dentry->d_sb->s_root;
- struct path path;
- ovl_path_upper(root_dentry, &path);
-
- if (!path.dentry->d_sb->s_op->statfs)
- return -ENOSYS;
- return path.dentry->d_sb->s_op->statfs(path.dentry, buf);
-}
-
static const struct super_operations ovl_super_operations = {
.put_super = ovl_put_super,
.remount_fs = ovl_remount_fs,
- .statfs = ovl_statfs,
};
struct ovl_config {