From: Christoph Hellwig Date: Wed, 9 Jun 2010 13:31:01 +0000 (+0200) Subject: writeback: fix pin_sb_for_writeback X-Git-Tag: v2.6.35-rc4~43^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29cb48594b873f6193d6327097e504bd3e2314de;p=pandora-kernel.git writeback: fix pin_sb_for_writeback We need to check for s_instances to make sure we don't bother working against a filesystem that is beeing unmounted, and we need to call put_super to make sure a superblock is freed when we race against umount. Also no need to keep sb_lock after we got a reference on it. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed