mbox series

[-next,RFC,0/3] block: fix scan partition for exclusively open device again

Message ID 20230212092641.2394146-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series block: fix scan partition for exclusively open device again | expand

Message

Yu Kuai Feb. 12, 2023, 9:26 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

Yu Kuai (3):
  block: Revert "block: Do not reread partition table on exclusively
    open device"
  block: factor out the setting of GD_NEED_PART_SCAN
  block: fix scan partition for exclusively open device again

 block/blk.h   |  2 +-
 block/genhd.c | 36 ++++++++++++++++++++++++++----------
 block/ioctl.c | 14 +++++++-------
 3 files changed, 34 insertions(+), 18 deletions(-)