Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167915
b: refs/heads/master
c: 960cc0f
h: refs/heads/master
i:
  167913: 3c24421
  167911: 560f14b
v: v3
  • Loading branch information
Neil Brown authored and Jens Axboe committed Oct 26, 2009
1 parent 62fe167 commit fbaac7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 6cafb12dc85a5bdc722791cc5070968413264909
refs/heads/master: 960cc0f4fef607baabc2232fbd7cce5368a9dcfd
2 changes: 1 addition & 1 deletion trunk/fs/block_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1248,8 +1248,8 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part)
bd_set_size(bdev, (loff_t)bdev->bd_part->nr_sects << 9);
}
} else {
put_disk(disk);
module_put(disk->fops->owner);
put_disk(disk);
disk = NULL;
if (bdev->bd_contains == bdev) {
if (bdev->bd_disk->fops->open) {
Expand Down

0 comments on commit fbaac7a

Please sign in to comment.