Skip to content

set ro attribute of block device according to write-protection status

[email protected] linux-block linux-mediatek lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 1 replyIn review
  2. v1 posting 1/23 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: record wp_grp_size and boot_wp_statusdrivers/mmc/core/mmc.c include/linux/mmc/card.h include/linux/mmc/mmc.h+20 -00 replies
2/3mmc: check write-protection status during BLKROSET ioctlblock/ioctl.c drivers/mmc/core/block.c include/linux/mmc/mmc.h+218 -10 replies
3/3block: set partition read/write policy according to write-protection statusblock/partition-generic.c drivers/mmc/core/block.c include/linux/blkdev.h+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND PATCH v1 0/3] set ro attribute of block device according to write-protection status

From: Light Hsieh <[email protected]>

set ro attribute of block device according to write-protection status

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(-)
Signature · 1 line
1.8.1.1.dirty