aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-05-22 07:40:34 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-22 07:40:34 -1000
commit4ff2473bdb4cf2bb7d208ccf4418d3d7e6b1652c (patch)
treeb1ac04c68779ecdf79724b82859828c1d2e1758d /include
parentMerge tag 'io_uring-5.13-2021-05-22' of git://git.kernel.dk/linux-block (diff)
parentblock: fix a race between del_gendisk and BLKRRPART (diff)
downloadlinux-dev-4ff2473bdb4cf2bb7d208ccf4418d3d7e6b1652c.tar.xz
linux-dev-4ff2473bdb4cf2bb7d208ccf4418d3d7e6b1652c.zip
Merge tag 'block-5.13-2021-05-22' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe: - Fix BLKRRPART and deletion race (Gulam, Christoph) - NVMe pull request (Christoph): - nvme-tcp corruption and timeout fixes (Sagi Grimberg, Keith Busch) - nvme-fc teardown fix (James Smart) - nvmet/nvme-loop memory leak fixes (Wu Bo)" * tag 'block-5.13-2021-05-22' of git://git.kernel.dk/linux-block: block: fix a race between del_gendisk and BLKRRPART block: prevent block device lookups at the beginning of del_gendisk nvme-fc: clear q_live at beginning of association teardown nvme-tcp: rerun io_work if req_list is not empty nvme-tcp: fix possible use-after-completion nvme-loop: fix memory leak in nvme_loop_create_ctrl() nvmet: fix memory leak in nvmet_alloc_ctrl()
Diffstat (limited to 'include')
-rw-r--r--include/linux/genhd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 7e9660ea967d..6fc26f7bdf71 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -306,8 +306,6 @@ static inline void bd_unlink_disk_holder(struct block_device *bdev,
}
#endif /* CONFIG_SYSFS */
-extern struct rw_semaphore bdev_lookup_sem;
-
dev_t blk_lookup_devt(const char *name, int partno);
void blk_request_module(dev_t devt);
#ifdef CONFIG_BLOCK