From: Yu Kuai <yukuai3@xxxxxxxxxx> Yu Kuai (2): block: introduce new field flags in block_device block: warn once for each partition in bio_check_ro() block/bdev.c | 15 ++++++++------- block/blk-core.c | 21 +++++++++++++++------ block/genhd.c | 8 +++++--- block/ioctl.c | 2 +- include/linux/blk_types.h | 13 +++++++------ include/linux/blkdev.h | 5 +++-- 6 files changed, 39 insertions(+), 25 deletions(-) -- 2.39.2