diff options
author | Carlos Maiolino <[email protected]> | 2020-07-22 09:23:18 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-07-28 20:24:14 -0700 |
commit | 4491a3dd7192fb0db54117c42f785a8eb524607d (patch) | |
tree | 6b34e61d532643045d1c267d4b0b557a448c707f /scripts/gdb/linux/modules.py | |
parent | bae633a4a283afc8ceff5672c1f4f096d0558d70 (diff) |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
[darrick: reduce struct typedef usage]
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions