[PATCH 10/12] nfs: don't call bdi_unregister

2015-01-14 Thread Christoph Hellwig
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

Re: [PATCH 10/12] nfs: don't call bdi_unregister

2015-01-14 Thread Jan Kara
On Wed 14-01-15 10:42:39, Christoph Hellwig wrote: 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

[PATCH 10/12] nfs: don't call bdi_unregister

2015-01-08 Thread Christoph Hellwig
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