Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198257
b: refs/heads/master
c: 58a9d3d
h: refs/heads/master
i:
  198255: eca6786
v: v3
  • Loading branch information
Richard Kennedy authored and Linus Torvalds committed May 25, 2010
1 parent d203568 commit 6230bf0
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: ec95f53aa6ed62ba68660cb19c8474ebe9025cce
refs/heads/master: 58a9d3d8db06ca2ec31f64ec49ab0aeb89971b85
4 changes: 2 additions & 2 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ static void inode_wait_for_writeback(struct inode *inode)
wait_queue_head_t *wqh;

wqh = bit_waitqueue(&inode->i_state, __I_SYNC);
do {
while (inode->i_state & I_SYNC) {
spin_unlock(&inode_lock);
__wait_on_bit(wqh, &wq, inode_wait, TASK_UNINTERRUPTIBLE);
spin_lock(&inode_lock);
} while (inode->i_state & I_SYNC);
}
}

/*
Expand Down

0 comments on commit 6230bf0

Please sign in to comment.