Whamcloud - gitweb
e2fsck: if i_file_acl_hi is non-zero, fix it and don't abort e2fsck -p
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 May 2009 21:05:40 +0000 (17:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 May 2009 21:05:40 +0000 (17:05 -0400)
Ext3 filesystems don't care if i_file_acl_hi is non-zero in some
inode, and newer kernels should ignore this field (although 2.6.29 and
older kernels will not).  So e2fsck should fix this without aborting
an e2fsck preen operation.

Addresses-Debian-Bug: #526524

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/problem.c

index 38cb1f4..43a0aa6 100644 (file)
@@ -1289,7 +1289,7 @@ static struct e2fsck_problem problem_table[] = {
        /* i_blocks_hi should be zero */
        { PR_2_I_FILE_ACL_HI_ZERO,
          N_("i_file_acl_hi @F %N, @s zero.\n"),
-         PROMPT_CLEAR, 0 },
+         PROMPT_CLEAR, PR_PREEN_OK },
 
        /* Pass 3 errors */