[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] remove unnecessary macro bdev_put which is an alias to blkdev_put.



# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID bd606783c6bf00a82b1fea2eb0dd078923ab7e24
# Parent  a9ead230cc6038dd4905574b70328d3889c22c03
remove unnecessary macro bdev_put which is an alias to blkdev_put.

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r a9ead230cc60 -r bd606783c6bf 
linux-2.6-xen-sparse/drivers/xen/blkback/vbd.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/vbd.c    Mon Jan 16 13:47:31 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/vbd.c    Mon Jan 16 21:13:29 2006
@@ -11,7 +11,6 @@
 
 #define vbd_sz(_v)   ((_v)->bdev->bd_part ?                            \
        (_v)->bdev->bd_part->nr_sects : (_v)->bdev->bd_disk->capacity)
-#define bdev_put(_b) blkdev_put(_b)
 
 unsigned long vbd_size(struct vbd *vbd)
 {
@@ -69,7 +68,7 @@
 void vbd_free(struct vbd *vbd)
 {
        if (vbd->bdev)
-               bdev_put(vbd->bdev);
+               blkdev_put(vbd->bdev);
        vbd->bdev = NULL;
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.