mbox series

[v1,0/3] set ro attribute of block device according to write-protection status

Message ID 1583290274-5525-1-git-send-email-light.hsieh@mediatek.com (mailing list archive)
Headers show
Series set ro attribute of block device according to write-protection status | expand

Message

Light Hsieh March 4, 2020, 2:51 a.m. UTC
From: Light Hsieh <light.hsieh@mediatek.com>

Light Hsieh (3):
  mmc: record wp_grp_size and boot_wp_status
  mmc: check write-protection status during BLKROSET ioctl
  block: set partition read/write policy according to write-protection
    status

 block/ioctl.c             |   2 +-
 block/partition-generic.c |  10 +++
 drivers/mmc/core/block.c  | 217 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/mmc/core/mmc.c    |  16 ++++
 include/linux/blkdev.h    |   1 +
 include/linux/mmc/card.h  |   3 +
 include/linux/mmc/mmc.h   |   2 +
 7 files changed, 250 insertions(+), 1 deletion(-)