Skip to content

nfsd: COPY refcounting fix and cleanup

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfsd: zero out pointers after putting nfsd_files on COPY setup errorfs/nfsd/nfs4proc.c+2 -00 replies
2/2nfsd: clean up potential nfsd_file refcount leaks in COPY codepathfs/nfsd/nfs4proc.c+10 -1328 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] nfsd: COPY refcounting fix and cleanup

Just a couple of fixes for refcounting issues in the COPY codepaths. I sort of doubt either of these are the cause of the more recent crash reports around nfsd_file refcount underflows, but they do seem like real (and potential) bugs.

Jeff Layton (2):
nfsd: zero out pointers after putting nfsd_files on COPY setup error
nfsd: clean up potential nfsd_file refcount leaks in COPY codepath

 fs/nfsd/nfs4proc.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)
Signature · 1 line
2.39.0