Whamcloud - gitweb
Merge branch 'maint' into next
authorTheodore Ts'o <tytso@mit.edu>
Sun, 15 Dec 2013 01:56:29 +0000 (20:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Dec 2013 01:56:29 +0000 (20:56 -0500)
Conflicts:
misc/tune2fs.c

1  2 
misc/tune2fs.c

diff --cc misc/tune2fs.c
@@@ -2653,8 -2154,8 +2653,7 @@@ retry_open
                int set_csum = 0;
                dgrp_t i;
  
-               if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super,
-                               EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) {
 -              if (sb->s_feature_ro_compat &
 -                  EXT4_FEATURE_RO_COMPAT_GDT_CSUM) {
++              if (ext2fs_has_group_desc_csum(fs)) {
                        /*
                         * Changing the UUID requires rewriting all metadata,
                         * which can race with a mounted fs.  Don't allow that.