xfs: remove invalid barrier optimization from xfs_fsync
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Feb 2010 23:16:26 +0000 (10:16 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 1 Feb 2010 23:16:26 +0000 (10:16 +1100)
commite8b217e7530c6a073ac69f1c85b922d93fdf5647
tree09d9ce38d3baa747190c16eaffd39462259179ae
parent20026d92013d7bb3abb295337191def6758fc086
xfs: remove invalid barrier optimization from xfs_fsync

We always need to flush the disk write cache and can't skip it just because
the no inode attributes have changed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_vnodeops.c