summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-01-12 10:06:05 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-12 16:29:51 -0500
commit0e0243dc35a2349b3946e54f90e874be396fdb8b (patch)
treee73bcb2dc5e45ce56a35ca3808287425f39f69c2 /fs/nfs/callback.h
parent2485a4b610171f4e1c4ab0d053569747795c1bbe (diff)
downloadop-kernel-dev-0e0243dc35a2349b3946e54f90e874be396fdb8b.zip
op-kernel-dev-0e0243dc35a2349b3946e54f90e874be396fdb8b.tar.gz
NFS: add an endian notation
This function returns a big endian value. The implementation in fs/nfs/callback_proc.c is declared with "__be32" but the .h file uses "unsigned" instead. It makes sparse complain: fs/nfs/callback_proc.c:232:8: error: symbol 'nfs4_callback_layoutrecall' redeclared with different type (originally declared at fs/nfs/callback.h:165) - different base types Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r--fs/nfs/callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h
index 07df5f1..c89d3b9 100644
--- a/fs/nfs/callback.h
+++ b/fs/nfs/callback.h
@@ -162,7 +162,7 @@ struct cb_layoutrecallargs {
};
};
-extern unsigned nfs4_callback_layoutrecall(
+extern __be32 nfs4_callback_layoutrecall(
struct cb_layoutrecallargs *args,
void *dummy, struct cb_process_state *cps);
OpenPOWER on IntegriCloud