]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: turn xfs_da_args.value into a void pointer
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Apr 2020 20:08:34 +0000 (16:08 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 29 Apr 2020 20:08:34 +0000 (16:08 -0400)
Source kernel commit: ead189adb8abebc1555bf2776954131ba00c7619

The xattr values are blobs and should not be typed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_da_btree.h

index 0f4fbb0889ffced8fdec8245b2ecca3d35b20504..0967d1bd3cebd7a0391561f64503976153254055 100644 (file)
@@ -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 */