Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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();
	}
	}