Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202554
b: refs/heads/master
c: e75aa85
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Linus Torvalds committed Aug 4, 2010
1 parent 9643150 commit 5b55627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d9b68e5e88248bb24fd4e455588bea1d56108fd6
refs/heads/master: e75aa85892b2ee78c79edac720868cbef16e62eb
4 changes: 2 additions & 2 deletions trunk/fs/block_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,8 @@ static int bd_prepare_to_claim(struct block_device *bdev,
if (!bd_may_claim(bdev, whole, holder))
return -EBUSY;

/* if someone else is claiming, wait for it to finish */
if (whole->bd_claiming && whole->bd_claiming != holder) {
/* if claiming is already in progress, wait for it to finish */
if (whole->bd_claiming) {
wait_queue_head_t *wq = bit_waitqueue(&whole->bd_claiming, 0);
DEFINE_WAIT(wait);

Expand Down

0 comments on commit 5b55627

Please sign in to comment.