mbox series

[0/2] block: warn once for each partition in bio_check_ro()

Message ID 20231120093847.2228127-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series block: warn once for each partition in bio_check_ro() | expand

Message

Yu Kuai Nov. 20, 2023, 9:38 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

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(-)