From: Jens Axboe Date: Thu, 17 Mar 2011 10:13:12 +0000 (+0100) Subject: fs: assign sb->s_bdi to default_backing_dev_info if the bdi is going away X-Git-Tag: v2.6.37.6~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a490308676cbc30594f067fec60d1bb00cd3252;p=pandora-kernel.git fs: assign sb->s_bdi to default_backing_dev_info if the bdi is going away commit 95f28604a65b1c40b6c6cd95e58439cd7ded3add upstream. We don't have proper reference counting for this yet, so we run into cases where the device is pulled and we OOPS on flushing the fs data. This happens even though the dirty inodes have already been migrated to the default_backing_dev_info. Reported-by: Torsten Hilbrich Tested-by: Torsten Hilbrich Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed