Re: [PATCH 14/15] NFS: Fix some minor problems with nfs4_verifiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-03-01 at 17:02 -0500, Chuck Lever wrote:
> Clean up due to code review.
 
> -typedef struct { char data[NFS4_VERIFIER_SIZE]; } nfs4_verifier;
> +typedef union {
> +	unsigned char	data[NFS4_VERIFIER_SIZE];
> +	u32		data32[NFS4_VERIFIER_SIZE / sizeof(u32)];

The above should really be a __be32 type. We don't ever convert
verifiers.

> +} nfs4_verifier;
>  
>  struct nfs41_stateid {
>  	__be32 seqid;
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux