From: Christoph Hellwig Date: Wed, 14 Jan 2015 09:42:39 +0000 (+0100) Subject: nfs: don't call bdi_unregister X-Git-Tag: fixes-v4.0-rc1~119^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b14a213890a81473ec97ad7e322d5c2f19854ae;p=pandora-kernel.git nfs: don't call bdi_unregister bdi_destroy already does all the work, and if we delay freeing the anon bdev we can get away with just that single call. Addintionally remove the call during mount failure, as deactivate_super_locked will already call ->kill_sb and clean up the bdi for us. Signed-off-by: Christoph Hellwig Reviewed-by: Jan Kara Signed-off-by: Jens Axboe --- Reading git-diff-tree failed