summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svc4proc.c
diff options
context:
space:
mode:
authorAl Viro2006-10-20 08:28:46 +0200
committerLinus Torvalds2006-10-20 19:26:40 +0200
commit52921e02a4f4163a7b1f4b5dde71e1debc71de4a (patch)
tree0202a8a4c8c78aed1826540fb33faf64a88837ce /fs/lockd/svc4proc.c
parent[PATCH] fix svc_procfunc declaration (diff)
downloadkernel-qcow2-linux-52921e02a4f4163a7b1f4b5dde71e1debc71de4a.tar.gz
kernel-qcow2-linux-52921e02a4f4163a7b1f4b5dde71e1debc71de4a.tar.xz
kernel-qcow2-linux-52921e02a4f4163a7b1f4b5dde71e1debc71de4a.zip
[PATCH] lockd endianness annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no> Acked-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/lockd/svc4proc.c')
-rw-r--r--fs/lockd/svc4proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c
index 4e719860b4bf..0ce5c81ff507 100644
--- a/fs/lockd/svc4proc.c
+++ b/fs/lockd/svc4proc.c
@@ -24,14 +24,14 @@
/*
* Obtain client and file from arguments
*/
-static u32
+static __be32
nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp,
struct nlm_host **hostp, struct nlm_file **filp)
{
struct nlm_host *host = NULL;
struct nlm_file *file = NULL;
struct nlm_lock *lock = &argp->lock;
- u32 error = 0;
+ __be32 error = 0;
/* nfsd callbacks must have been installed for this procedure */
if (!nlmsvc_ops)