]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd63f5983bbd6659b3c1f8bbcebf5cfdcc18c53f1
tree8cf9a65b5a6d464ceabfe992b49a028a9a939198
parentbec6578370e9012ce34dc55a83891ac5ef5e33e3
[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