nfsd: assorted clean-ups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | nfsd: Don't pass all of rqst into rqst_exp_find()fs/ fs/ fs/ +1 more | +35 | 0 replies | |
| 2/6 | nfsd: Pass 'cred' instead of 'rqstp' to some functions.fs/ fs/ fs/ +5 more | +33 | 0 replies | |
| 3/6 | nfsd: Move error code mapping to per-version xdr code.fs/ fs/ fs/ +6 more | +91 | 3 replies | |
| 4/6 | nfsd: use nfsd_v4client() in nfsd_breaker_owns_lease()fs/ fs/ fs/ | +8 | 0 replies | |
| 5/6 | nfsd: further centralize protocol version checks.fs/ fs/ fs/ | +9 | 0 replies | |
| 6/6 | nfsd: move V4ROOT version check to nfsd_set_fh_dentry()fs/ | +7 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jeff Layton |
|---|---|
| Series | R-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] nfsd: assorted clean-ups
My recent series (that may not now be needed) to allow fh_verify() to not be given an rqstp pointer (instead taking the individual fields that it actually needs) exposed several opportunities for improving code cleanliness. This series provides just those.
I'm not convinced that the last 2 are a genuine improvement, but that follow a pattern set by earlier patches, and maybe they are a good idea.
There is some minor behavioural change in that some error codes are changed as described in patch 3.
Thanks,
NeilBrown
[PATCH 1/6] nfsd: Don't pass all of rqst into rqst_exp_find() [PATCH 2/6] nfsd: Pass 'cred' instead of 'rqstp' to some functions. [PATCH 3/6] nfsd: Move error code mapping to per-version xdr code. [PATCH 4/6] nfsd: use nfsd_v4client() in nfsd_breaker_owns_lease() [PATCH 5/6] nfsd: further centralize protocol version checks. [PATCH 6/6] nfsd: move V4ROOT version check to nfsd_set_fh_dentry()