]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - fs/ext3/super.c
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux...
[~shefty/rdma-dev.git] / fs / ext3 / super.c
index 662290fb6fff4a1d00b6c26a99b4bceeb25a4234..7beb69ae0015996140fe916712f4b1e13860faa0 100644 (file)
@@ -1730,6 +1730,8 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
        sbi->s_resuid = le16_to_cpu(es->s_def_resuid);
        sbi->s_resgid = le16_to_cpu(es->s_def_resgid);
 
+       /* enable barriers by default */
+       set_opt(sbi->s_mount_opt, BARRIER);
        set_opt(sbi->s_mount_opt, RESERVATION);
 
        if (!parse_options ((char *) data, sb, &journal_inum, &journal_devnum,