Bug 1590334

Summary: xfs_repair don't fix directory entry parent's pointer is it's bogus (xfs_repair: dir2.c:1419: process_dir2: Assertion `(ino != mp->m_sb.sb_rootino && ino != *parent) || (ino == mp->m_sb.sb_rootino && (ino == *parent || need_root_dotdot == 1))' failed.)
Product: Red Hat Enterprise Linux 7 Reporter: Rinku <rkothiya>
Component: xfsprogsAssignee: Eric Sandeen <esandeen>
Status: CLOSED ERRATA QA Contact: Zorro Lang <zlang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.4CC: kdsouza, mbenatto, xzhou
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xfsprogs-4.5.0-18.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:38:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Eric Sandeen 2018-06-12 15:50:44 UTC
Please bzip2 the metadump image to facilitate transfer.

Comment 12 Marco Benatto 2018-06-14 23:29:05 UTC
OK, managed to fix this. Patch sent to upstream:

https://marc.info/?l=linux-xfs&m=152901461328965&w=2

Comment 13 Eric Sandeen 2018-06-15 15:03:55 UTC
We have a patch sent upstream now (thanks Marco!) and the maintainer (me) plans to merge it, so setting RHEL7.6 devel_ack+

Comment 14 Eric Sandeen 2018-06-20 20:31:13 UTC
Marco also sent an xfstest upstream, thanks!

Comment 15 Eric Sandeen 2018-06-20 21:18:14 UTC
Fixed in xfsprogs-4.5.0-18.el7

Comment 21 errata-xmlrpc 2018-10-30 11:38:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3274