summaryrefslogtreecommitdiff
path: root/ext4_utils
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-10-15 20:16:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-10-15 20:16:03 +0000
commit665ae145b8f117b9dfb2b4149e358cf25685b829 (patch)
tree11cac391612ea168aaf159a9fe3e3b82e27c185b /ext4_utils
parentc994a994527392760df16ab812cbbbf8cca5f61d (diff)
parent8c578e3a66dcd0756aa3f8a19aec8ebe9e477e59 (diff)
downloadextras-665ae145b8f117b9dfb2b4149e358cf25685b829.tar.gz
Merge "Setup filesystem for automatic forced repair"
Diffstat (limited to 'ext4_utils')
-rw-r--r--ext4_utils/ext4_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/ext4_utils.c b/ext4_utils/ext4_utils.c
index 29cbc727..28f650d4 100644
--- a/ext4_utils/ext4_utils.c
+++ b/ext4_utils/ext4_utils.c
@@ -290,7 +290,7 @@ void ext4_fill_in_sb(int real_uuid)
sb->s_mtime = 0;
sb->s_wtime = 0;
sb->s_mnt_count = 0;
- sb->s_max_mnt_count = 0xFFFF;
+ sb->s_max_mnt_count = 10;
sb->s_magic = EXT4_SUPER_MAGIC;
sb->s_state = EXT4_VALID_FS;
sb->s_errors = EXT4_ERRORS_RO;