diff options
author | 2021-07-22 09:53:56 +0200 | |
---|---|---|
committer | 2021-08-02 13:37:28 -0600 | |
commit | d7a66574b34e0b354442140927f9b787efccabfd (patch) | |
tree | 36de0c3d2edd2acd41e718d36283d645b6e97166 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: assert the locking state in delete_partition (diff) | |
download | wireguard-linux-d7a66574b34e0b354442140927f9b787efccabfd.tar.xz wireguard-linux-d7a66574b34e0b354442140927f9b787efccabfd.zip |
block: unhash the whole device inode earlier
Unhash the whole device inode early in del_gendisk. This allows to
remove the first GENHD_FL_UP check in the open path as we simply
won't find a just removed inode. The second non-racy check after
taking open_mutex is still kept.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210722075402.983367-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions