commit | 7b14a213890a81473ec97ad7e322d5c2f19854ae | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jan 14 10:42:39 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Jan 20 14:03:09 2015 -0700 |
tree | 9115cee236cd2fb9ff3e471364ebe0d136260a38 | |
parent | e4d2750909aa26129bd0bf1b0dc832e0845aae90 [diff] |
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 <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>