ext4: respect the nobarrier mount option in nojournal mode
authorTheodore Ts'o <tytso@mit.edu>
Sun, 26 Jun 2016 22:25:01 +0000 (18:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 26 Jun 2016 22:25:01 +0000 (18:25 -0400)
commit78d962510796fdf39ccc5efd23d2eea2eca1ed99
tree1f247c26f37e34f79260123286f42a0e9971d70b
parentd08854f5bcf3ea0cabc6fd2fc49c2d97e00c7c88
ext4: respect the nobarrier mount option in nojournal mode

Also, if we are going to issue the barrier, we should do this after we
write out the parent directories if necessary.

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