diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-08-01 19:55:11 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-08-07 00:32:17 +0100 |
commit | 20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0 (patch) | |
tree | bf0ea596ffdf80991fef0ff6cf889dc3bd42fa30 | |
parent | 117b8a10fe0c434d9043267efd51f3ba3f3d359a (diff) | |
download | lwn-20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0.tar.gz lwn-20a5d5d4ed1518f9e74163b1d8ebc1ca7b2e6aa0.zip |
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>
-rw-r--r-- | fs/debugfs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index a15f1e220a76..74f03b5d8560 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) |