WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] remove unnecessary macro bdev_put which is an alias to blkdev_put.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jan 2006 02:38:06 +0000
Delivery-date: Tue, 17 Jan 2006 02:45:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] remove unnecessary macro bdev_put which is an alias to blkdev_put., Xen patchbot -unstable <=