From: Christoph Hellwig Date: Tue, 8 Jun 2010 16:14:58 +0000 (+0200) Subject: writeback: fix writeback_inodes_wb from writeback_inodes_sb X-Git-Tag: v2.6.35-rc4~43^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d19de7edf59cdd586777b009e0e8fbe5412dd35f;p=pandora-kernel.git writeback: fix writeback_inodes_wb from writeback_inodes_sb When we call writeback_inodes_wb from writeback_inodes_sb we always have s_umount held, which currently makes the whole operation a no-op. But if we are called to write out inodes for a specific superblock we always have s_umount held, so replace the incorrect logic checking for WB_SYNC_ALL which only worked by coincidence with the proper check for an explicit superblock argument. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed