]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: don't log inode problems without printing resolution
authorDarrick J. Wong <djwong@kernel.org>
Mon, 5 Jun 2023 15:37:44 +0000 (08:37 -0700)
committerCarlos Maiolino <cem@kernel.org>
Wed, 12 Jul 2023 07:15:18 +0000 (09:15 +0200)
commit2618b37ae9db06aecb4db74113d0eed74202370b
tree64dac221940a056e3e2cc3fd7508a5ca42c88b3e
parent67f541056f4dd3ba1ccc5d11464d67afdab0f2a3
xfs_repair: don't log inode problems without printing resolution

If we're running in repair mode without the verbose flag, I see a bunch
of stuff like this:

entry "FOO" in directory inode XXX points to non-existent inode YYY

This output is less than helpful, since it doesn't tell us that repair
is actually fixing the problem.  We're fixing a corruption, so we should
always say that we're going to fix it.

Fixes: 6c39a3cbda3 ("Don't trash lost+found in phase 4 Merge of master-melb:xfs-cmds:29144a by kenmcd.")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
repair/phase6.c