]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_db: directly operate on the dinode in process_inode
authorChristoph Hellwig <hch@lst.de>
Fri, 10 Jul 2020 06:00:22 +0000 (08:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 10 Jul 2020 06:37:11 +0000 (08:37 +0200)
commit791d7d324290dbb83be7bf35fe15f9898f5df1c1
tree11c2fd7323145e519ed1e89d4a8a42c498cc3f4a
parent5695565294d31957553003befa01c2ab418e8bbf
xfs_db: directly operate on the dinode in process_inode

Rewrite process_inode to operate directly on the dinode instead of
converting it to an in-core inode using xfs_inode_from_disk, which will
change significantly to match the latest kernel version.

As we don't support v1 inodes any more this doesn't change behavior.

Signed-off-by: Christoph Hellwig <hch@lst.de>
db/check.c
libxfs/libxfs_api_defs.h