diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-20 02:28:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:40 -0400 |
commit | 52921e02a4f4163a7b1f4b5dde71e1debc71de4a (patch) | |
tree | 0202a8a4c8c78aed1826540fb33faf64a88837ce /fs/lockd/svcsubs.c | |
parent | 7111c66e4e70588c9602035a4996c9cdc2087d2d (diff) |
[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/svcsubs.c')
-rw-r--r-- | fs/lockd/svcsubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 7dac96e6c82c..e83024e16042 100644 --- a/fs/lockd/svcsubs.c +++ b/fs/lockd/svcsubs.c | |||
@@ -78,14 +78,14 @@ static inline unsigned int file_hash(struct nfs_fh *f) | |||
78 | * This is not quite right, but for now, we assume the client performs | 78 | * This is not quite right, but for now, we assume the client performs |
79 | * the proper R/W checking. | 79 | * the proper R/W checking. |
80 | */ | 80 | */ |
81 | u32 | 81 | __be32 |
82 | nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result, | 82 | nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result, |
83 | struct nfs_fh *f) | 83 | struct nfs_fh *f) |
84 | { | 84 | { |
85 | struct hlist_node *pos; | 85 | struct hlist_node *pos; |
86 | struct nlm_file *file; | 86 | struct nlm_file *file; |
87 | unsigned int hash; | 87 | unsigned int hash; |
88 | u32 nfserr; | 88 | __be32 nfserr; |
89 | 89 | ||
90 | nlm_debug_print_fh("nlm_file_lookup", f); | 90 | nlm_debug_print_fh("nlm_file_lookup", f); |
91 | 91 | ||