Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221827
b: refs/heads/master
c: a014741
h: refs/heads/master
i:
  221825: 2a93d91
  221823: de404f0
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Jens Axboe committed Nov 10, 2010
1 parent f09e16c commit e21366d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77304d2abac6101f7249754ffdd4421258877ab0
refs/heads/master: a014741c0adfb8fb79952939ca087cf03d272bb9
1 change: 1 addition & 0 deletions trunk/block/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
* We need to set the startsect first, the driver may
* want to override it.
*/
memset(&geo, 0, sizeof(geo));
geo.start = get_start_sect(bdev);
ret = disk->fops->getgeo(bdev, &geo);
if (ret)
Expand Down

0 comments on commit e21366d

Please sign in to comment.