Merge git://git.infradead.org/battery-2.6
[firefly-linux-kernel-4.4.55.git] / fs / reiserfs / super.c
index aa91089162cb568ce4e5426c4b9db2e942240ce7..14363b96b6afafa74a80c2c66553c8d914064268 100644 (file)
@@ -1643,6 +1643,7 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent)
        /* Set default values for options: non-aggressive tails, RO on errors */
        REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_SMALLTAIL);
        REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ERROR_RO);
+       REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_BARRIER_FLUSH);
        /* no preallocation minimum, be smart in
           reiserfs_file_write instead */
        REISERFS_SB(s)->s_alloc_options.preallocmin = 0;