search for: 86516c8

Displaying 2 results from an estimated 2 matches for "86516c8".

2012 Apr 10
3
[PATCH] virtio_blk: Add help function to format mass of disks
...rt mass of disks naming. Signed-off-by: Ren Mingxin <renmx at cn.fujitsu.com> --- drivers/block/virtio_blk.c | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index c4a60ba..86516c8 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -374,6 +374,31 @@ static int init_vq(struct virtio_blk *vblk) return err; } +static int virtblk_name_format(char *prefix, int index, char *buf, int buflen) +{ + const int base = 'z' - 'a' + 1; + char *b...
2012 Apr 10
3
[PATCH] virtio_blk: Add help function to format mass of disks
...rt mass of disks naming. Signed-off-by: Ren Mingxin <renmx at cn.fujitsu.com> --- drivers/block/virtio_blk.c | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index c4a60ba..86516c8 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -374,6 +374,31 @@ static int init_vq(struct virtio_blk *vblk) return err; } +static int virtblk_name_format(char *prefix, int index, char *buf, int buflen) +{ + const int base = 'z' - 'a' + 1; + char *b...