Commit dd5b16b9 authored by Benjamin LaHaise's avatar Benjamin LaHaise

Avoid looping in write_inode_now since the sync_one changes now ensure __sync_one

is called once the inode is unlocked.
parent 50b1b006
......@@ -467,7 +467,6 @@ 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);
spin_unlock(&inode_lock);
if (sync)
......
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