From: Yu Kuai <yukuai3@xxxxxxxxxx> 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(-) -- 2.31.1