ceph: remove call to bdi_unregister
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2015 09:42:38 +0000 (10:42 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 20 Jan 2015 21:03:07 +0000 (14:03 -0700)
commite4d2750909aa26129bd0bf1b0dc832e0845aae90
treed9cfd5dc69e5edba8e8d810c51009468e9f7199d
parentb83ae6d421435c6204150300f1c25bfbd39cd62b
ceph: remove call to 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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/ceph/super.c