[PATCH 0/2] nfsd: COPY refcounting fix and cleanup
From: Jeff Layton <jlayton@kernel.org>
Date: 2023-01-17 21:18:13
From: Jeff Layton <jlayton@kernel.org>
Date: 2023-01-17 21:18:13
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(-) -- 2.39.0