block: revert "block: fix bd_size_lock use"
authorDamien Le Moal <damien.lemoal@wdc.com>
Mon, 1 Mar 2021 03:04:02 +0000 (12:04 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Mar 2021 03:12:02 +0000 (20:12 -0700)
commit0f47227705d88382d9a8f98013d56442066d90ca
tree415304c437b9d9545424eb2226cb797034e7fb25
parentfe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8
block: revert "block: fix bd_size_lock use"

With the removal of the skd driver, using IRQ safe locking of a bdev
bd_size_lock spinlock to protect the bdev inode size is not necessary
anymore as there is no other known driver using this lock under an IRQ
disabled context (e.g. calling set_capacity() with IRQ disabled).
Revert commit 0fe37724f8e7 ("block: fix bd_size_lock use") which
introduced the IRQ safe change.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
block/partitions/core.c