]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_xattr.c
Merge tag 'compiler-attributes-for-linus-v5.4' of git://github.com/ojeda/linux
[linux.git] / fs / xfs / xfs_xattr.c
index 3123b5aaad2a15ef3652892372c7808ebc091dd5..cb895b1df5e4256dc5ead4ef892d000afc83c8d5 100644 (file)
@@ -30,7 +30,7 @@ xfs_xattr_get(const struct xattr_handler *handler, struct dentry *unused,
                value = NULL;
        }
 
-       error = xfs_attr_get(ip, (unsigned char *)name, value, &asize, xflags);
+       error = xfs_attr_get(ip, name, (unsigned char **)&value, &asize, xflags);
        if (error)
                return error;
        return asize;