summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChuck Lever <cel@citi.umich.edu>2002-09-17 20:17:27 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-17 20:17:27 -0700
commitee5e0cb4b49d7e9552af3e578d8459216609ac52 (patch)
tree500f6a01e5f8ae3354aede7bb8f8084760c1f5e7 /include/linux
parentb9239fb2e7a4e6d771e74631da4aafcc01e67bb8 (diff)
[PATCH] rename svc_get/putlong as svc_get/putu32
This renames the svc_getlong and svc_putlong macros as svc_getu32 and svc_putu32. this is simple clean up and is obviously correct. it was part of the patch that implements stricter type checking for rpc auth flavors.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/svc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 71054b826df2..e1ed17ddc419 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -82,8 +82,8 @@ struct svc_buf {
struct iovec iov[RPCSVC_MAXIOV];
int nriov;
};
-#define svc_getlong(argp, val) { (val) = *(argp)->buf++; (argp)->len--; }
-#define svc_putlong(resp, val) { *(resp)->buf++ = (val); (resp)->len++; }
+#define svc_getu32(argp, val) { (val) = *(argp)->buf++; (argp)->len--; }
+#define svc_putu32(resp, val) { *(resp)->buf++ = (val); (resp)->len++; }
/*
* The context of a single thread, including the request currently being