Trond Myklebust 8ae20abdd1 NFS4: Fix incorrect use of sizeof() in fs/nfs/nfs4xdr.c
The XDR code should not depend on the physical allocation size of
structures like nfs4_stateid and nfs4_verifier since those may have to
change at some future date. We therefore replace all uses of
sizeof() with constants like NFS4_VERIFIER_SIZE and NFS4_STATEID_SIZE.

This also has the side-effect of fixing some warnings of the type
	format ‘%u’ expects type ‘unsigned int’, but argument X has type
		‘long unsigned int’
on 64-bit systems

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-05-14 19:33:45 -04:00
..
2007-05-09 23:34:35 -04:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-09 12:30:56 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-08 11:15:20 -07:00
2007-05-11 08:29:34 -07:00
2007-05-10 21:08:37 +10:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:34 -07:00
2007-04-27 14:23:33 +03:00
2007-05-07 12:12:50 -07:00
2007-05-11 16:56:18 +02:00