mtip32xx: remove the call to fsync_bdev on removal
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Jun 2020 14:33:54 +0000 (16:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:38 +0000 (14:53 -0700)
commita6419fd810c6b3b060f75b69b09d25ea2ac1f200
treefe650121be860c16952d610cae8c3196b4451362
parent040f04bd2e825f1d80b14a0e0ac3d830339eb779
mtip32xx: remove the call to fsync_bdev on removal

del_gendisk already calls fsync_bdev for every partition, no need
to do this twice.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h