Displaying 2 results from an estimated 2 matches for "f1ef26f".
2010 Jun 18
4
[PATCH 1/2] Add 'serial' attribute to virtio-blk devices
...er <ryanh at us.ibm.com>
Signed-off-by: john cooper <john.cooper at redhat.com>
---
drivers/block/virtio_blk.c | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 258bc2a..f1ef26f 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -281,6 +281,31 @@ static int index_to_minor(int index)
return index << PART_BITS;
}
+/* Copy serial number from *s to *d. Copy operation terminates on either
+ * encountering a nul in *s or after n bytes have be...
2010 Jun 18
4
[PATCH 1/2] Add 'serial' attribute to virtio-blk devices
...er <ryanh at us.ibm.com>
Signed-off-by: john cooper <john.cooper at redhat.com>
---
drivers/block/virtio_blk.c | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 258bc2a..f1ef26f 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -281,6 +281,31 @@ static int index_to_minor(int index)
return index << PART_BITS;
}
+/* Copy serial number from *s to *d. Copy operation terminates on either
+ * encountering a nul in *s or after n bytes have be...