aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_exchmaps.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2024-04-15 21:54:34 +0000
committerDarrick J. Wong <[email protected]>2024-04-15 21:58:50 +0000
commit17a85dc64ae0804d33a2293686fc987a830a462d (patch)
tree7eac08cc65abdcdcf64cad5adb38e7ee33ba357b /fs/xfs/libxfs/xfs_exchmaps.c
parentxfs: add an explicit owner field to xfs_da_args (diff)
downloadkernel-17a85dc64ae0804d33a2293686fc987a830a462d.tar.gz
kernel-17a85dc64ae0804d33a2293686fc987a830a462d.zip
xfs: use the xfs_da_args owner field to set new dir/attr block owner
When we're creating leaf, data, freespace, or dabtree blocks for directories and xattrs, use the explicit owner field (instead of the xfs_inode) to set the owner field. This will enable online repair to construct replacement data structures in a temporary file without having to change the owner fields prior to swapping the new and old structures. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_exchmaps.c')
0 files changed, 0 insertions, 0 deletions