diff options
| author | Christoph Hellwig <[email protected]> | 2020-04-14 09:29:00 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-04-20 11:32:59 -0600 |
| commit | d5f3178ec9ab8a3a71763310d260e1d2a047baf1 (patch) | |
| tree | 1f730b33e00132280e1c4e92572211e8b57db510 /tools/perf/scripts/python/bin | |
| parent | e669c1da03a9dde0e7d43852a5b6ade8312e8701 (diff) | |
block: simplify block device syncing in bdev_del_partition
We just checked a little above that the block device for the partition
im busy. That implies no file system is mounted, and thus the only
thing in fsync_bdev that actually is used is sync_blockdev. Just call
sync_blockdev directly.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions