diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-15 14:54:34 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-15 14:58:50 -0700 |
commit | 17a85dc64ae0804d33a2293686fc987a830a462d (patch) | |
tree | 7eac08cc65abdcdcf64cad5adb38e7ee33ba357b /fs/xfs/xfs_attr_list.c | |
parent | 9eef772f3a194f6841850e45dacdf4207ec7da84 (diff) | |
download | lwn-17a85dc64ae0804d33a2293686fc987a830a462d.tar.gz lwn-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 <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_attr_list.c')
0 files changed, 0 insertions, 0 deletions