diff options
| author | Darrick J. Wong <[email protected]> | 2024-04-15 21:54:34 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-04-15 21:58:50 +0000 |
| commit | 9eef772f3a194f6841850e45dacdf4207ec7da84 (patch) | |
| tree | 6b0acba499dbd7a067fc78ba9aa95d72a6873ffc /fs/xfs/libxfs/xfs_dir2_leaf.c | |
| parent | xfs: online repair of realtime summaries (diff) | |
| download | kernel-9eef772f3a194f6841850e45dacdf4207ec7da84.tar.gz kernel-9eef772f3a194f6841850e45dacdf4207ec7da84.zip | |
xfs: add an explicit owner field to xfs_da_args
Add an explicit owner field to xfs_da_args, which will make it easier
for online fsck to set the owner field of the temporary directory and
xattr structures that it builds to repair damaged metadata.
Note: I hopefully found all the xfs_da_args definitions by looking for
automatic stack variable declarations and xfs_da_args.dp assignments:
git grep -E '(args.*dp =|struct xfs_da_args[[:space:]]*[a-z0-9][a-z0-9]*)'
Note that callers of xfs_attr_{get,set,change} can set the owner to zero
(or leave it unset) to have the default set to args->dp.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_leaf.c')
0 files changed, 0 insertions, 0 deletions
