[RFC PATCH 0/2] Remove union from struct knfsd_fh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux