From 20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 1 Aug 2015 19:55:11 +0100 Subject: 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 Signed-off-by: Ben Hutchings --- fs/debugfs/inode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs') 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) -- cgit v1.1