diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-10-01 02:00:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-07 17:31:59 +0300 |
commit | 73f1c77e65117e8f44074402e7cf5f4934505bfb (patch) | |
tree | 3a7fb97a3f7513d8551320623a1523379b405a53 /sound | |
parent | bae85c156f619939ef6261f1bd4fabbe24361b50 (diff) | |
download | linux-73f1c77e65117e8f44074402e7cf5f4934505bfb.tar.xz |
block: Reduce sysfs_lock locking inside blk_cleanup_queue()
Since blk_cleanup_queue() is called after blk_unregister_queue() and
since that last function removes all sysfs attributes, serializing
any code in blk_cleanup_queue() against sysfs callback methods nor against
I/O scheduler changes is necessary. Hence remove the syfs_lock locking
calls from the start of blk_cleanup_queue().
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions