mbox series

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

Message ID 20230117193831.75201-1-jlayton@kernel.org (mailing list archive)
Headers show
Series nfsd: COPY refcounting fix and cleanup | expand

Message

Jeff Layton Jan. 17, 2023, 7:38 p.m. UTC
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(-)