mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
fix unlabelled xdr field order on sun457 kernel for now
alternate to 2503 (which we will push after branching) Thanks to Andrew Deason for discovering this issue. Change-Id: I3a43bb1eab1a753f099c9d21e440f6660c706e37 Reviewed-on: http://gerrit.openafs.org/2514 Reviewed-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
7556326e01
commit
8e5d6ce150
@ -90,14 +90,21 @@ static struct xdr_ops xdrlen_ops = {
|
||||
NULL,
|
||||
#endif
|
||||
/* Windows does not support labeled assigments */
|
||||
#if !(defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
xdrlen_getint32, /* not supported */
|
||||
xdrlen_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
xdrlen_getbytes, /* not supported */
|
||||
xdrlen_putbytes, /* serialize counted bytes */
|
||||
xdrlen_getpos, /* get offset in the stream */
|
||||
xdrlen_setpos, /* set offset in the stream */
|
||||
xdrlen_inline, /* not supported */
|
||||
xdrlen_destroy /* destroy stream */
|
||||
xdrlen_destroy, /* destroy stream */
|
||||
#if (defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
NULL, /* control - not implemented */
|
||||
xdrlen_getint32, /* not supported */
|
||||
xdrlen_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
#else
|
||||
#ifdef AFS_XDR_64BITOPS
|
||||
.x_getint64 = NULL,
|
||||
|
@ -68,14 +68,21 @@ static struct xdr_ops xdrmem_ops = {
|
||||
NULL,
|
||||
#endif
|
||||
/* Windows does not support labeled assigments */
|
||||
#if !(defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
xdrmem_getint32, /* deserialize an afs_int32 */
|
||||
xdrmem_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
xdrmem_getbytes, /* deserialize counted bytes */
|
||||
xdrmem_putbytes, /* serialize counted bytes */
|
||||
xdrmem_getpos, /* get offset in the stream: not supported. */
|
||||
xdrmem_setpos, /* set offset in the stream: not supported. */
|
||||
xdrmem_inline, /* prime stream for inline macros */
|
||||
xdrmem_destroy /* destroy stream */
|
||||
xdrmem_destroy, /* destroy stream */
|
||||
#if (defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
NULL, /* control - not implemented */
|
||||
xdrmem_getint32, /* not supported */
|
||||
xdrmem_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
#else
|
||||
#ifdef AFS_XDR_64BITOPS
|
||||
.x_getint64 = NULL,
|
||||
|
@ -123,14 +123,21 @@ static struct xdr_ops xdrrec_ops = {
|
||||
NULL,
|
||||
#endif
|
||||
/* Windows does not support labeled assignments */
|
||||
#if !(defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
xdrrec_getint32, /* deserialize an afs_int32 */
|
||||
xdrrec_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
xdrrec_getbytes, /* deserialize counted bytes */
|
||||
xdrrec_putbytes, /* serialize counted bytes */
|
||||
xdrrec_getpos, /* get offset in the stream: not supported. */
|
||||
xdrrec_setpos, /* set offset in the stream: not supported. */
|
||||
xdrrec_inline, /* prime stream for inline macros */
|
||||
xdrrec_destroy /* destroy stream */
|
||||
xdrrec_destroy, /* destroy stream */
|
||||
#if (defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
NULL,
|
||||
xdrrec_getint32, /* deserialize an afs_int32 */
|
||||
xdrrec_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
#else
|
||||
#ifdef AFS_XDR_64BITOPS
|
||||
.x_getint64 = NULL,
|
||||
|
@ -86,14 +86,21 @@ static struct xdr_ops xdrrx_ops = {
|
||||
xdrrx_putint64, /* serialize an afs_int64 */
|
||||
#endif
|
||||
/* Windows does not support labeled assigments */
|
||||
#if !(defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
xdrrx_getint32, /* deserialize an afs_int32 */
|
||||
xdrrx_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
xdrrx_getbytes, /* deserialize counted bytes */
|
||||
xdrrx_putbytes, /* serialize counted bytes */
|
||||
NULL, /* get offset in the stream: not supported. */
|
||||
NULL, /* set offset in the stream: not supported. */
|
||||
xdrrx_inline, /* prime stream for inline macros */
|
||||
NULL /* destroy stream */
|
||||
NULL, /* destroy stream */
|
||||
#if (defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
NULL, /* control - not implemented */
|
||||
xdrrx_getint32, /* not supported */
|
||||
xdrrx_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
#else
|
||||
#ifdef AFS_XDR_64BITOPS
|
||||
.x_getint64 = xdrrx_getint64,
|
||||
|
@ -64,14 +64,21 @@ static struct xdr_ops xdrstdio_ops = {
|
||||
NULL,
|
||||
#endif
|
||||
/* Windows does not support labeled assignments */
|
||||
#if !(defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
xdrstdio_getint32, /* deserialize an afs_int32 */
|
||||
xdrstdio_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
xdrstdio_getbytes, /* deserialize counted bytes */
|
||||
xdrstdio_putbytes, /* serialize counted bytes */
|
||||
xdrstdio_getpos, /* get offset in the stream */
|
||||
xdrstdio_setpos, /* set offset in the stream */
|
||||
xdrstdio_inline, /* prime stream for inline macros */
|
||||
xdrstdio_destroy /* destroy stream */
|
||||
xdrstdio_destroy, /* destroy stream */
|
||||
#if (defined(KERNEL) && defined(AFS_SUN57_ENV))
|
||||
NULL,
|
||||
xdrstdio_getint32, /* deserialize an afs_int32 */
|
||||
xdrstdio_putint32, /* serialize an afs_int32 */
|
||||
#endif
|
||||
#else
|
||||
#ifdef AFS_XDR_64BITOPS
|
||||
.x_getint64 = NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user