+6
−9
Loading
Compilers are allowed to insert padding and reorder the fields in a struct, so using a union of an array and a struct in struct knfsd_fh is not reliable. The position of elements in an array is more reliable. Suggested-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Jeff Layton <jlayton@kernel.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Chuck Lever <chuck.lever@oracle.com>