Return-Path: Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Luis Henriques" Date: Sun, 02 Aug 2015 01:02:38 +0100 Message-ID: Subject: [PATCH 3.2 141/164] debugfs: Fix statfs() regression in 3.2.69 In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: 3.2.70-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Ben Hutchings 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 --- --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -135,6 +135,7 @@ static void debugfs_evict_inode(struct i 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)