ext4: avoid issuing unnecessary barriers
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Nov 2009 12:24:57 +0000 (07:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Nov 2009 12:24:57 +0000 (07:24 -0500)
commit6b17d902fdd241adfa4ce780df20547b28bf5801
treea5daca03108c565c58347d36b1dec70cf22ef1d1
parent1032988c71f3f85483b2b4319684d1205a704c02
ext4: avoid issuing unnecessary barriers

We don't to issue an I/O barrier on an error or if we force commit
because we are doing data journaling.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Jan Kara <jack@suse.cz>
Cc: stable@kernel.org
fs/ext4/fsync.c