linux-stable/fs/nfsd
Mahmoud Adam b9e5f633b3 nfsd: fix file memleak on client_opens_release
commit bc1b5acb40 upstream.

seq_release should be called to free the allocated seq_file

Cc: stable@vger.kernel.org # v5.3+
Signed-off-by: Mahmoud Adam <mngyadam@amazon.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Fixes: 78599c42ae ("nfsd4: add file to display list of client's opens")
Reviewed-by: NeilBrown <neilb@suse.de>
Tested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 16:50:21 +00:00
..
Kconfig fs: nfsd: fix kconfig dependency warning for NFSD_V4 2021-04-07 14:47:38 +02:00
Makefile
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-23 10:59:48 +02:00
blocklayoutxdr.h
cache.h nfsd4: make drc_slab global, not per-net 2020-06-24 17:50:37 +02:00
current_stateid.h
export.c
export.h
fault_inject.c
filecache.c nfsd: Containerise filecache laundrette 2022-03-28 08:46:43 +02:00
filecache.h nfsd: Containerise filecache laundrette 2022-03-28 08:46:43 +02:00
flexfilelayout.c
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-23 10:59:48 +02:00
flexfilelayoutxdr.h
idmap.h
lockd.c
netns.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-06 07:52:47 +01:00
nfs2acl.c
nfs3acl.c
nfs3proc.c NFSD: Clamp WRITE offsets 2022-02-16 12:52:47 +01:00
nfs3xdr.c new helper: lookup_positive_unlocked() 2023-09-23 10:59:40 +02:00
nfs4acl.c
nfs4callback.c NFSD: callback request does not use correct credential for AUTH_SYS 2023-04-20 12:07:33 +02:00
nfs4idmap.c
nfs4layouts.c nfsd: fix race to check ls_layouts 2023-03-11 16:43:49 +01:00
nfs4proc.c nfsd: fix change_info in NFSv4 RENAME replies 2023-09-23 11:00:06 +02:00
nfs4recover.c nfsd: Fix a memory leak in an error handling path 2022-10-26 13:22:22 +02:00
nfs4state.c nfsd: fix file memleak on client_opens_release 2023-11-28 16:50:21 +00:00
nfs4xdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-23 10:59:48 +02:00
nfscache.c NFSD: Add tracepoints to NFSD's duplicate reply cache 2023-01-18 11:41:31 +01:00
nfsctl.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
nfsd.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-06 07:52:47 +01:00
nfsfh.c
nfsfh.h
nfsproc.c NFSD: prevent underflow in nfssvc_decode_writeargs() 2022-04-15 14:17:59 +02:00
nfssvc.c nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-06 07:52:47 +01:00
nfsxdr.c
pnfs.h
state.h
stats.c
stats.h
trace.c
trace.h NFSD: Add tracepoints to NFSD's duplicate reply cache 2023-01-18 11:41:31 +01:00
vfs.c nfsd: lock_rename() needs both directories to live on the same fs 2023-11-08 11:23:38 +01:00
vfs.h
xdr.h NFSD: prevent underflow in nfssvc_decode_writeargs() 2022-04-15 14:17:59 +02:00
xdr3.h
xdr4.h
xdr4cb.h