Commit 806f337f authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bcrlbits.bkbits.net/linux-2.5

into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents a31ea717 dd5b16b9
......@@ -467,8 +467,7 @@ void write_inode_now(struct inode *inode, int sync)
if (sb) {
spin_lock(&inode_lock);
while (inode->i_state & I_DIRTY)
sync_one(inode, sync);
sync_one(inode, sync);
spin_unlock(&inode_lock);
if (sync)
wait_on_inode(inode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment