]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: use TYP_F_CRC_FUNC for inodes & dquots
authorEric Sandeen <sandeen@redhat.com>
Fri, 4 Aug 2017 21:33:52 +0000 (16:33 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 4 Aug 2017 21:33:52 +0000 (16:33 -0500)
commit1e9c13c58d5cd6c7b83987b6189e47671863b65f
tree890212df18ed6a825648813b17c31f59e87d160a
parent984af2e129d044fff80b8203721733e0cc7354f4
xfs_db: use TYP_F_CRC_FUNC for inodes & dquots

Now that typ_t has a ->set_crc method, use it for inodes & dquots
as well, rather than recognizing them as special types and calling
their crc functions directly by name.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/dquot.c
db/dquot.h
db/fuzz.c
db/inode.c
db/inode.h
db/io.c
db/io.h
db/type.c
db/write.c