commit | cc7d12ac377458e17b520e431f5b54896be3e456 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Mar 14 09:26:21 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Mar 14 09:26:22 2014 -0400 |
tree | 13aff2fdbf70f89d580c32331088814e078a8fc0 | |
parent | 97bd89cd398108b05e33b676809b50348bf6abb2 [diff] |
e2fsck: zero errcode when checking inline data blocks When checking inline data blocks, always zero pctx->errcode because otherwise a previous error condition could leak through and "cause" a fatal block iteration failure. I found this by corrupting an xattr block on an inline_data inode and fsck aborted when I tried to repair it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>