Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249132
b: refs/heads/master
c: 3880914
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Apr 25, 2011
1 parent 2cf829e commit 291496e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aac7af6db1aa4e0e85791f39a168decefb4b15f5
refs/heads/master: 3880914aa68fec748e634522bd2fef448b0ea3bb
17 changes: 0 additions & 17 deletions trunk/drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,22 +722,6 @@ static int blkvsc_release(struct gendisk *disk, fmode_t mode)
}


static int blkvsc_revalidate_disk(struct gendisk *gd)
{
struct block_device_context *blkdev = gd->private_data;

DPRINT_DBG(BLKVSC_DRV, "- enter\n");

if (blkdev->device_type == DVD_TYPE) {
blkvsc_do_operation(blkdev, DO_CAPACITY);
set_capacity(blkdev->gd, blkdev->capacity *
(blkdev->sector_size/512));
blk_queue_logical_block_size(gd->queue, blkdev->sector_size);
}
return 0;
}


/*
* We break the request into 1 or more blkvsc_requests and submit
* them. If we cant submit them all, we put them on the
Expand Down Expand Up @@ -997,7 +981,6 @@ static const struct block_device_operations block_ops = {
.owner = THIS_MODULE,
.open = blkvsc_open,
.release = blkvsc_release,
.revalidate_disk = blkvsc_revalidate_disk,
.getgeo = blkvsc_getgeo,
.ioctl = blkvsc_ioctl,
};
Expand Down

0 comments on commit 291496e

Please sign in to comment.