diff options
author | Christoph Hellwig <hch@lst.de> | 2021-04-06 08:22:54 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-08 10:24:36 -0600 |
commit | 473338be3aaea117a7133720305f240eb7f68951 (patch) | |
tree | 254b617fa5e8fb02fc8264df93ed77733af50d82 /drivers/media/tuners/mxl5007t.c | |
parent | 45611837bb37e4544ca048e33d833483b06e3b03 (diff) | |
download | linux-473338be3aaea117a7133720305f240eb7f68951.tar.gz linux-473338be3aaea117a7133720305f240eb7f68951.tar.bz2 linux-473338be3aaea117a7133720305f240eb7f68951.zip |
block: move more syncing and invalidation to delete_partition
Move the calls to fsync_bdev and __invalidate_device from del_gendisk to
delete_partition. For the other two callers that check that there are
no openers for the delete partitions(s) the callouts are a no-op as no
file system can be mounted, but this keeps all the cleanup in one
place.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210406062303.811835-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/media/tuners/mxl5007t.c')
0 files changed, 0 insertions, 0 deletions