Commit 20a5d5d4 authored by Ben Hutchings's avatar Ben Hutchings

debugfs: Fix statfs() regression in 3.2.69

Commit 915f4f86 ("debugfs: leave freeing a symlink body until inode
eviction", commit 0db59e59 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: default avatarLuis Henriques <luis.henriques@canonical.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 117b8a10
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment