diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-20 02:28:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:40 -0400 |
commit | e6f684f6443dd37384c63d2f27571350e0b5c8aa (patch) | |
tree | 28f36fabb0b54ba06de89901283e082f5aca8e77 /fs/nfs/callback.h | |
parent | 0dbb4c6799cf8fa8c5ba1926153a30960117477d (diff) |
[PATCH] fs/nfs/callback* passes error values big-endian
[pulled from Alexey's patch]
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/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index 5676163d26e8..6921d82b850b 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h | |||
@@ -44,7 +44,7 @@ struct cb_getattrargs { | |||
44 | }; | 44 | }; |
45 | 45 | ||
46 | struct cb_getattrres { | 46 | struct cb_getattrres { |
47 | uint32_t status; | 47 | __be32 status; |
48 | uint32_t bitmap[2]; | 48 | uint32_t bitmap[2]; |
49 | uint64_t size; | 49 | uint64_t size; |
50 | uint64_t change_attr; | 50 | uint64_t change_attr; |
@@ -59,8 +59,8 @@ struct cb_recallargs { | |||
59 | uint32_t truncate; | 59 | uint32_t truncate; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | extern unsigned nfs4_callback_getattr(struct cb_getattrargs *args, struct cb_getattrres *res); | 62 | extern __be32 nfs4_callback_getattr(struct cb_getattrargs *args, struct cb_getattrres *res); |
63 | extern unsigned nfs4_callback_recall(struct cb_recallargs *args, void *dummy); | 63 | extern __be32 nfs4_callback_recall(struct cb_recallargs *args, void *dummy); |
64 | 64 | ||
65 | #ifdef CONFIG_NFS_V4 | 65 | #ifdef CONFIG_NFS_V4 |
66 | extern int nfs_callback_up(void); | 66 | extern int nfs_callback_up(void); |