[PATCH] reiserfs_fsync should only use barriers when they are enabled
authorChris Mason <mason@suse.com>
Fri, 29 Sep 2006 08:59:54 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:11 +0000 (09:18 -0700)
commit25736b1c692d436508585d1d710912e6f76be2d8
tree8cf9a65b5a6d464ceabfe992b49a028a9a939198
parentd4328b40af16bae62ff8f854060d33daad237093
[PATCH] reiserfs_fsync should only use barriers when they are enabled

make sure that reiserfs_fsync only triggers barriers when mounted with -o
barrier=flush

Signed-off-by: Chris Mason <mason@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/file.c