Skip to content

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

[email protected] linux-block linux-mediatek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 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 -01 reply

Reviews trailers per patch

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

Read the v1 thread

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

From: Light Hsieh <[email protected]>

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