linux_dsm_epyc7002/fs/xfs/scrub
Carlos Maiolino 4491a3dd71 xfs: Refactor xfs_da_state_alloc() helper
Every call to xfs_da_state_alloc() also requires setting up state->args
and state->mp

Change xfs_da_state_alloc() to receive an xfs_da_args_t as argument and
return a xfs_da_state_t with both args and mp already set.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: reduce struct typedef usage]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2020-07-28 20:24:14 -07:00
..
agheader_repair.c
agheader.c
alloc.c
attr.c
attr.h
bitmap.c
bitmap.h
bmap.c
btree.c
btree.h
common.c
common.h
dabtree.c xfs: Refactor xfs_da_state_alloc() helper 2020-07-28 20:24:14 -07:00
dabtree.h
dir.c
fscounters.c
health.c
health.h
ialloc.c
inode.c
parent.c
quota.c
refcount.c
repair.c
repair.h
rmap.c
rtbitmap.c
scrub.c
scrub.h
symlink.c
trace.c
trace.h
xfs_scrub.h