]> git.baikalelectronics.ru Git - kernel.git/commit
block: assert the locking state in delete_partition
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Jul 2021 07:53:55 +0000 (09:53 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Aug 2021 19:37:28 +0000 (13:37 -0600)
commitb214c468854b96e7eb63639df1faa0f34b4664d9
tree6cfc06d96cdebf17f0beeea5aa3a4539afcec8d4
parent19fd7431db3a5acd5df504a6a225bc26469fea88
block: assert the locking state in delete_partition

Add a lockdep assert instead of the outdated locking comment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chaitanya Kulkarni <ckulkarnilinux@gmail.com>
Link: https://lore.kernel.org/r/20210722075402.983367-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c