diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2025-06-20 08:31:55 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2025-07-14 12:46:47 -0400 |
| commit | 03963793c82598ff89bcca11aba8444721f91009 (patch) | |
| tree | 59f7e6910e9401089c2c7d8a153d588ef9208a29 /rust/helpers/build_bug.c | |
| parent | NFSD: Access a knfsd_fh's fsid by pointer (diff) | |
| download | linux-03963793c82598ff89bcca11aba8444721f91009.tar.gz linux-03963793c82598ff89bcca11aba8444721f91009.zip | |
NFSD: Simplify struct knfsd_fh
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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
