]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_db: add helper for flist_find_type for clearer field matching
authorAndrey Albershteyn <aalbersh@redhat.com>
Wed, 17 Apr 2024 16:19:30 +0000 (18:19 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 23 Apr 2024 13:07:05 +0000 (15:07 +0200)
commita21daa3a739194b929de644779c359949390d467
treedf7724e4849050c8e2b2a694027c8f43913faf93
parent652f8066b7ca7dc1e08c2c40cdd9ba593a9de568
xfs_db: add helper for flist_find_type for clearer field matching

Make flist_find_type() more readable by unloading field type
matching to the helper.

Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/flist.c