| Submitter | Christoph Hellwig |
|---|---|
| Date | July 16, 2011, 8:46 p.m. |
| Message ID | <20110716204650.GA16882@infradead.org> |
| Download | mbox | patch |
| Permalink | /patch/104992/ |
| State | Not Applicable |
| Headers | show |
Comments
Patch
Index: linux-2.6/fs/ext3/super.c =================================================================== --- linux-2.6.orig/fs/ext3/super.c 2011-06-30 21:19:37.389544975 +0200 +++ linux-2.6/fs/ext3/super.c 2011-07-02 13:56:51.877784292 +0200 @@ -1718,6 +1718,8 @@ static int ext3_fill_super (struct super 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,