From: Chuck Lever <chuck.lever@xxxxxxxxxx> This is a low-risk way to simplify the knfsd_fh struct, based on Christoph's suggestion of using array indices rather than u8 fields. Compile-tested only. Chuck Lever (2): NFSD: Access a knfsd_fh's fsid by pointer NFSD: Simplify struct knfsd_fh fs/nfsd/nfs4layouts.c | 4 ++-- fs/nfsd/nfsfh.c | 16 +++++++++------- fs/nfsd/nfsfh.h | 26 +++++++++++++++----------- 3 files changed, 26 insertions(+), 20 deletions(-) -- 2.49.0