Commit ee3dea35 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

ufs: remove unessecary blk_flush_plug

We already flush the per-process plugging list when context switching,
so a blk_flush_plug call just before a yield() is not needed.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 53d63e6b
...@@ -479,7 +479,6 @@ int ufs_truncate(struct inode *inode, loff_t old_i_size) ...@@ -479,7 +479,6 @@ int ufs_truncate(struct inode *inode, loff_t old_i_size)
break; break;
if (IS_SYNC(inode) && (inode->i_state & I_DIRTY)) if (IS_SYNC(inode) && (inode->i_state & I_DIRTY))
ufs_sync_inode (inode); ufs_sync_inode (inode);
blk_flush_plug(current);
yield(); yield();
} }
......
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