aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-08-01 19:55:11 +0100
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 00:32:17 +0100
commit20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0 (patch)
treebf0ea596ffdf80991fef0ff6cf889dc3bd42fa30 /fs
parent117b8a10fe0c434d9043267efd51f3ba3f3d359a (diff)
downloadkernel_samsung_smdk4412-20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0.zip
kernel_samsung_smdk4412-20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0.tar.gz
kernel_samsung_smdk4412-20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0.tar.bz2
debugfs: Fix statfs() regression in 3.2.69
Commit 915f4f86ddc4 ("debugfs: leave freeing a symlink body until inode eviction", commit 0db59e59299f upstream) changed debugfs to define its own super_operations and implement the evict_inode operation. Luis Henriques pointed out that it needs to define the statfs operation, as in simple_super_operations which it was using before. Reported-by: Luis Henriques <luis.henriques@canonical.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/debugfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index a15f1e2..74f03b5 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -135,6 +135,7 @@ static void debugfs_evict_inode(struct inode *inode)
static const struct super_operations debugfs_super_operations = {
.evict_inode = debugfs_evict_inode,
+ .statfs = simple_statfs,
};
static int debug_fill_super(struct super_block *sb, void *data, int silent)