xfs/278: find sfdir inode field prefix
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 23 Mar 2018 16:54:47 +0000 (09:54 -0700)
committerEryu Guan <guaneryu@gmail.com>
Thu, 29 Mar 2018 13:07:20 +0000 (21:07 +0800)
Use the xfs set/get metadata field helpers to detect the correct sfdir
field name prefix on v4-v5 filesystems.  This enables us to test inode
link count corrections on a (deliberately) disconnected directory.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>

No differences found