]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
NFS: add an endian notation
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Jan 2012 07:06:05 +0000 (10:06 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 12 Jan 2012 21:29:51 +0000 (16:29 -0500)
commit0e0243dc35a2349b3946e54f90e874be396fdb8b
treee73bcb2dc5e45ce56a35ca3808287425f39f69c2
parent2485a4b610171f4e1c4ab0d053569747795c1bbe
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>
fs/nfs/callback.h