[PATCH 0/8] NFSd: precursor and cleanup patch set [message #45674] |
Wed, 28 March 2012 15:08  |
Stanislav Kinsbursky
Messages: 683 Registered: October 2011
|
Senior Member |
|
|
This patch set prepares ground for making NFSd export and expkey caches
allocated and registered per network namespace context.
Mainly, it just replaces hard-coded pointers with dereferenced everywhere
required.
The following series consists of:
---
Stanislav Kinsbursky (8):
nfsd: use passed cache_detail pointer expkey_parse()
nfsd: add link to owner cache detail to svc_export structure
nfsd: use cache detail pointer from svc_export structure on cache put
nfsd: use exp_put() for svc_export_cache put
nfsd: pass svc_export_cache pointer as private data to "exports" seq file ops
nfsd: use hash table from cache detail in nfsd export seq ops
nfsd: pass pointer to export cache down to stack wherever possible.
nfsd: pass pointer to expkey cache down to stack wherever possible.
fs/nfsd/export.c | 102 ++++++++++++++++++++++++-------------------
fs/nfsd/nfsctl.c | 11 ++++-
fs/nfsd/nfsfh.c | 2 -
include/linux/nfsd/export.h | 3 +
4 files changed, 71 insertions(+), 47 deletions(-)
|
|
|