RFC Fix nits found by static analysis
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | NFSD: Remove dead code in nfsd4_create_session()fs/ | +0 | 0 replies | |
| 2/6 | NFSD: Remove a never-true comparisonfs/ | +1 | 0 replies | |
| 3/6 | NFSD: Prevent NULL dereference in nfsd4_process_cb_update()fs/ | +2 | 0 replies | |
| 4/6 | NFSD: Remove unused results in nfsd4_encode_pathname4()fs/ | +5 | 0 replies | |
| 5/6 | NFSD: Remove unused values from nfsd4_encode_components_esc()fs/ | +2 | 0 replies | |
| 6/6 | NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()fs/ | +2 | 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 [RFC PATCH 0/6] Fix nits found by static analysis
From: Chuck Lever <[email protected]>
Here are a handful of fixes for issues found by static analysis. These are the ones I understood enough to address immediately. There are others that will take some time to analyze and address.
Chuck Lever (6):
NFSD: Remove dead code in nfsd4_create_session()
NFSD: Remove a never-true comparison
NFSD: Prevent NULL dereference in nfsd4_process_cb_update()
NFSD: Remove unused results in nfsd4_encode_pathname4()
NFSD: Remove unused values from nfsd4_encode_components_esc()
NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
fs/nfsd/nfs4callback.c | 2 ++ fs/nfsd/nfs4recover.c | 3 ++- fs/nfsd/nfs4state.c | 3 --- fs/nfsd/nfs4xdr.c | 23 +++++++---------------- fs/nfsd/nfsfh.c | 2 +- 5 files changed, 12 insertions(+), 21 deletions(-)
Signature · 1 line
2.46.2