xfs: remove invalid barrier optimization from xfs_fsync
commit76962b5ed721dd91bd736c65944522798a35ced5
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Mar 2010 22:42:15 +0000 (12 09:42 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:16 +0000 (26 07:41 -0700)
tree6891e5fb19f1eb2f086e2b835c720c957c5028ed
parent83b546b83752bd43cfc26458709d48293956a3c8
xfs: remove invalid barrier optimization from xfs_fsync

commit e8b217e7530c6a073ac69f1c85b922d93fdf5647 upstream

Date: Tue, 2 Feb 2010 10:16:26 +1100
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/xfs/xfs_vnodeops.c