nfsd: add appropriate __force directives to filehandle generation code
authorJeff Layton <jlayton@primarydata.com>
Tue, 17 Jun 2014 11:44:14 +0000 (07:44 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 23 Jun 2014 15:31:37 +0000 (11:31 -0400)
commit94ec938b612eb877bb6622847972dd739ef738b8
tree031f1e13f33fc8a437f0a3e95ece9ff628da6430
parente2afc81919400505481a985fb389475707195c3c
nfsd: add appropriate __force directives to filehandle generation code

The filehandle structs all use host-endian values, but will sometimes
stuff big-endian values into those fields. This is OK since these
values are opaque to the client, but it confuses sparse. Add __force to
make it clear that we are doing this intentionally.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsfh.c
fs/nfsd/nfsfh.h