commit | b3d8d1284a8275f7e761df5fc5f80c464ecd23dd | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Tue Jun 17 07:44:12 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Jun 23 11:31:37 2014 -0400 |
tree | 01215db70352cd950d928c6895a2791b6c792df4 | |
parent | f419992c1f792f2ce501585853ffc71b8f78caa1 [diff] |
nfsd: clean up sparse endianness warnings in nfscache.c We currently hash the XID to determine a hash bucket to use for the reply cache entry, which is fed into hash_32 without byte-swapping it. Add __force to make sparse happy, and add some comments to explain why. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>