]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: extract xfs_da_buf_copy() helper function
authorZhang Tianci <zhangtianci.1997@bytedance.com>
Mon, 15 Apr 2024 23:07:35 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:24 +0000 (14:06 -0700)
commit93d1bd08ec1f4d7eab94e749cf7822218fd3b385
tree47a2df4e759855f02f092c58a2953dc49909d9dd
parent2831e8f93a4c75d1518a1d5ca676d71dd820eb47
xfs: extract xfs_da_buf_copy() helper function

Source kernel commit: fd45ddb9dd606b3eaddf26e13f64340636955986

This patch does not modify logic.

xfs_da_buf_copy() will copy one block from src xfs_buf to
dst xfs_buf, and update the block metadata in dst directly.

Signed-off-by: Zhang Tianci <zhangtianci.1997@bytedance.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
libxfs/xfs_attr_leaf.c
libxfs/xfs_da_btree.c
libxfs/xfs_da_btree.h