block: move sd_format_disk_name() into block core as disk_name_format()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 33 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block: add function disk_name_format() into block coreblock/ include/ | +51 | 0 replies | |
| 1/4 | block: add function disk_name_format() into block coreblock/ include/ | +51 | 0 replies | |
| 2/4 | scsi: replace sd_format_disk_name() to disk_name_format()drivers/ | +1 | 0 replies | |
| 2/4 | scsi: replace sd_format_disk_name() to disk_name_format()drivers/ | +1 | 0 replies | |
| 3/4 | block: replace rssd_disk_name_format() to disk_name_format()drivers/ | +1 | 4 replies | |
| 3/4 | block: replace rssd_disk_name_format() to disk_name_format()drivers/ | +1 | 0 replies | |
| 4/4 | virtio_blk: use disk_name_format() to support mass of disks namingdrivers/ | +1 | 24 replies | |
| 4/4 | virtio_blk: use disk_name_format() to support mass of disks namingdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] block: move sd_format_disk_name() into block core as disk_name_format()
This patch series renames "sd_format_disk_name()" to "disk_name_format()" and moves it into block core. So that who needs formatting disk name can use it, instead of duplicating these similar help functions.
Ren Mingxin (4):
block: add function disk_name_format() into block core
scsi: replace sd_format_disk_name() to disk_name_format()
block: replace rssd_disk_name_format() to disk_name_format()
virtio_blk: use disk_name_format() to support mass of disks naming
block/genhd.c | 49 ++++++++++++++++++++++++++++++++++++++ drivers/block/mtip32xx/mtip32xx.c | 33 ------------------------- drivers/block/virtio_blk.c | 13 ---------- drivers/scsi/sd.c | 48 ------------------------------------- include/linux/genhd.h | 2 + 5 files changed, 54 insertions(+), 91 deletions(-)
Any comment will be appreciated.
Thanks,
Ren