ia64/xen-unstable

changeset 8614:bd606783c6bf

remove unnecessary macro bdev_put which is an alias to blkdev_put.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vhanquez@kneesa.uk.xensource.com
date Mon Jan 16 21:13:29 2006 +0000 (2006-01-16)
parents a9ead230cc60
children 7ef28da1d777
files linux-2.6-xen-sparse/drivers/xen/blkback/vbd.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkback/vbd.c	Mon Jan 16 14:47:31 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/vbd.c	Mon Jan 16 21:13:29 2006 +0000
     1.3 @@ -11,7 +11,6 @@
     1.4  
     1.5  #define vbd_sz(_v)   ((_v)->bdev->bd_part ?				\
     1.6  	(_v)->bdev->bd_part->nr_sects : (_v)->bdev->bd_disk->capacity)
     1.7 -#define bdev_put(_b) blkdev_put(_b)
     1.8  
     1.9  unsigned long vbd_size(struct vbd *vbd)
    1.10  {
    1.11 @@ -69,7 +68,7 @@ int vbd_create(blkif_t *blkif, blkif_vde
    1.12  void vbd_free(struct vbd *vbd)
    1.13  {
    1.14  	if (vbd->bdev)
    1.15 -		bdev_put(vbd->bdev);
    1.16 +		blkdev_put(vbd->bdev);
    1.17  	vbd->bdev = NULL;
    1.18  }
    1.19