xfs: embedded the attrlist cursor into struct xfs_attr_list_context
The attrlist cursor only exists as part of an attr list context, so embedd the structure instead of pointing to it. Also give it a proper xfs_ prefix and remove the obsolete typedef. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
254f800f81
commit
e3a19cdea8
@@ -60,9 +60,9 @@ DECLARE_EVENT_CLASS(xfs_attr_list_class,
|
||||
TP_fast_assign(
|
||||
__entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
|
||||
__entry->ino = ctx->dp->i_ino;
|
||||
__entry->hashval = ctx->cursor->hashval;
|
||||
__entry->blkno = ctx->cursor->blkno;
|
||||
__entry->offset = ctx->cursor->offset;
|
||||
__entry->hashval = ctx->cursor.hashval;
|
||||
__entry->blkno = ctx->cursor.blkno;
|
||||
__entry->offset = ctx->cursor.offset;
|
||||
__entry->buffer = ctx->buffer;
|
||||
__entry->bufsize = ctx->bufsize;
|
||||
__entry->count = ctx->count;
|
||||
@@ -186,9 +186,9 @@ TRACE_EVENT(xfs_attr_list_node_descend,
|
||||
TP_fast_assign(
|
||||
__entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
|
||||
__entry->ino = ctx->dp->i_ino;
|
||||
__entry->hashval = ctx->cursor->hashval;
|
||||
__entry->blkno = ctx->cursor->blkno;
|
||||
__entry->offset = ctx->cursor->offset;
|
||||
__entry->hashval = ctx->cursor.hashval;
|
||||
__entry->blkno = ctx->cursor.blkno;
|
||||
__entry->offset = ctx->cursor.offset;
|
||||
__entry->buffer = ctx->buffer;
|
||||
__entry->bufsize = ctx->bufsize;
|
||||
__entry->count = ctx->count;
|
||||
|
Reference in New Issue
Block a user