summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_attr_item.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-07-15 14:30:09 +0200
committerCarlos Maiolino <cem@kernel.org>2025-07-24 17:30:15 +0200
commit8bf931f99e84a31974f862e0f981738d048ab67f (patch)
tree4f1d8f249c6fc1215e48ebd3a5f06a5a64f153fe /fs/xfs/xfs_attr_item.h
parente870cbe6fa7cf58ba6ef216ecfd6db1cde33a8f1 (diff)
xfs: don't use a xfs_log_iovec for attr_item names and values
These buffers are not directly logged, just use a kvec and remove the xlog_copy_from_iovec helper only used here. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_attr_item.h')
-rw-r--r--fs/xfs/xfs_attr_item.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_attr_item.h b/fs/xfs/xfs_attr_item.h
index e74128cbb722..d108a11b55ae 100644
--- a/fs/xfs/xfs_attr_item.h
+++ b/fs/xfs/xfs_attr_item.h
@@ -12,10 +12,10 @@ struct xfs_mount;
struct kmem_zone;
struct xfs_attri_log_nameval {
- struct xfs_log_iovec name;
- struct xfs_log_iovec new_name; /* PPTR_REPLACE only */
- struct xfs_log_iovec value;
- struct xfs_log_iovec new_value; /* PPTR_REPLACE only */
+ struct kvec name;
+ struct kvec new_name; /* PPTR_REPLACE only */
+ struct kvec value;
+ struct kvec new_value; /* PPTR_REPLACE only */
refcount_t refcount;
/* name and value follow the end of this struct */