]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/lockd/xdr.h
Merge branch 'linus' into cpus4096-for-linus
[linux-2.6-omap-h63xx.git] / include / linux / lockd / xdr.h
index 29e7d9fc9dad68c163c38a6908659540869d0bb4..df18fa053bcd7d0a1e1f9665e57efa8929dafb87 100644 (file)
@@ -29,7 +29,7 @@ struct svc_rqst;
 /* Lock info passed via NLM */
 struct nlm_lock {
        char *                  caller;
-       int                     len;    /* length of "caller" */
+       unsigned int            len;    /* length of "caller" */
        struct nfs_fh           fh;
        struct xdr_netobj       oh;
        u32                     svid;
@@ -69,7 +69,7 @@ typedef struct nlm_args nlm_args;
  */
 struct nlm_res {
        struct nlm_cookie       cookie;
-       u32                     status;
+       __be32                  status;
        struct nlm_lock         lock;
 };
 
@@ -78,11 +78,11 @@ struct nlm_res {
  */
 struct nlm_reboot {
        char *          mon;
-       int             len;
+       unsigned int    len;
        u32             state;
-       u32             addr;
-       u32             vers;
-       u32             proto;
+       __be32          addr;
+       __be32          vers;
+       __be32          proto;
 };
 
 /*