From: Christoph Hellwig Date: Wed, 29 Apr 2020 20:08:34 +0000 (-0400) Subject: xfs: turn xfs_da_args.value into a void pointer X-Git-Tag: v5.7.0-rc0~49 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee31d3304417b8c5f8abf3ac219e92e6c383c550;p=thirdparty%2Fxfsprogs-dev.git xfs: turn xfs_da_args.value into a void pointer Source kernel commit: ead189adb8abebc1555bf2776954131ba00c7619 The xattr values are blobs and should not be typed. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_da_btree.h b/libxfs/xfs_da_btree.h index 0f4fbb088..0967d1bd3 100644 --- a/libxfs/xfs_da_btree.h +++ b/libxfs/xfs_da_btree.h @@ -57,7 +57,7 @@ typedef struct xfs_da_args { const uint8_t *name; /* string (maybe not NULL terminated) */ int namelen; /* length of string (maybe no NULL) */ uint8_t filetype; /* filetype of inode for directories */ - uint8_t *value; /* set of bytes (maybe contain NULLs) */ + void *value; /* set of bytes (maybe contain NULLs) */ int valuelen; /* length of value */ int flags; /* argument flags (eg: ATTR_NOCREATE) */ xfs_dahash_t hashval; /* hash value of name */