mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
53d63e6b0d
commit
ee3dea3549
1 changed files with 0 additions and 1 deletions
|
|
@ -479,7 +479,6 @@ int ufs_truncate(struct inode *inode, loff_t old_i_size)
|
|||
break;
|
||||
if (IS_SYNC(inode) && (inode->i_state & I_DIRTY))
|
||||
ufs_sync_inode (inode);
|
||||
blk_flush_plug(current);
|
||||
yield();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue