Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299195
b: refs/heads/master
c: dad5cf6
h: refs/heads/master
i:
  299193: 0707fae
  299191: 72571c3
v: v3
  • Loading branch information
Andrew Jones authored and Jens Axboe committed Mar 20, 2012
1 parent 160d200 commit b6f3f58
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: 34ae2e47d97216d8c66a1c5dff5b530c29b746b8
refs/heads/master: dad5cf659b202b5070c8616b5c515f6ca4db0c42
2 changes: 1 addition & 1 deletion trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,6 @@ static int blkif_release(struct gendisk *disk, fmode_t mode)
mutex_lock(&blkfront_mutex);

bdev = bdget_disk(disk, 0);
bdput(bdev);

if (bdev->bd_openers)
goto out;
Expand Down Expand Up @@ -1440,6 +1439,7 @@ static int blkif_release(struct gendisk *disk, fmode_t mode)
}

out:
bdput(bdev);
mutex_unlock(&blkfront_mutex);
return 0;
}
Expand Down

0 comments on commit b6f3f58

Please sign in to comment.