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 12:30:55 -07:00
2007-05-11 08:29:32 -07:00
2007-05-08 11:14:59 -07:00
2007-05-09 12:30:55 -07:00
2007-05-08 11:15:01 -07:00
2007-05-08 11:14:59 -07:00
2007-05-08 11:14:59 -07:00
2007-05-08 11:14:57 -07:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:57:56 +02:00
2007-05-12 10:55:39 -07:00
2007-05-10 09:26:52 -07:00
2006-10-04 06:51:26 -06:00
2007-05-08 11:14:59 -07:00
2006-12-07 08:39:25 -08:00
2007-05-11 08:29:36 -07:00
2007-05-08 11:15:01 -07:00
2007-05-08 11:15:09 -07:00
2007-05-09 08:58:15 +02:00
2007-05-07 12:12:58 -07:00
2007-05-09 06:44:57 +02:00
2007-05-11 08:29:36 -07:00
2006-12-07 08:39:25 -08:00
2007-05-08 20:10:00 -07:00
2006-10-01 00:39:19 -07:00
2006-03-23 07:38:11 -08:00
2007-05-09 07:10:02 +02:00
2007-05-11 08:29:36 -07:00
2007-05-08 11:15:01 -07:00
2007-05-08 11:15:04 -07:00
2007-05-11 08:29:36 -07:00
2007-05-08 11:15:18 -07:00