]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ufs: remove unessecary blk_flush_plug
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Mar 2011 10:17:43 +0000 (12:17 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 5 Apr 2011 21:51:37 +0000 (23:51 +0200)
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 <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/ufs/truncate.c

index 11014302c9ca63959ea29310a8173c74f48bd3ea..5f821dbc057905c379df686dfbb2f2ff67609c9a 100644 (file)
@@ -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();
        }