Ubuntu-focal-kernel/fs/nfsd
Mahmoud Adam 279a10316d nfsd: fix file memleak on client_opens_release
BugLink: https://bugs.launchpad.net/bugs/2049069

commit bc1b5acb40201a0746d68a7d7cfc141899937f4f 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>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
2024-02-02 14:13:12 +01:00
..
Kconfig
Makefile
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-10-30 11:42:12 +01:00
blocklayoutxdr.h
cache.h
current_stateid.h
export.c
export.h
fault_inject.c
filecache.c
filecache.h
flexfilelayout.c
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-10-30 11:42:12 +01:00
flexfilelayoutxdr.h
idmap.h
lockd.c
netns.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-03-21 10:09:01 +01:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c new helper: lookup_positive_unlocked() 2023-10-30 11:42:07 +01:00
nfs4acl.c
nfs4callback.c NFSD: callback request does not use correct credential for AUTH_SYS 2023-07-10 17:22:09 +02:00
nfs4idmap.c
nfs4layouts.c nfsd: fix race to check ls_layouts 2023-05-12 17:15:04 +02:00
nfs4proc.c nfsd: fix change_info in NFSv4 RENAME replies 2023-10-30 11:42:24 +01:00
nfs4recover.c nfsd: Fix a memory leak in an error handling path 2023-01-06 08:43:55 -08:00
nfs4state.c nfsd: fix file memleak on client_opens_release 2024-02-02 14:13:12 +01:00
nfs4xdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-10-30 11:42:12 +01:00
nfscache.c NFSD: Add tracepoints to NFSD's duplicate reply cache 2023-02-01 15:23:08 +01:00
nfsctl.c treewide: Remove uninitialized_var() usage 2023-08-09 12:25:41 +02:00
nfsd.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-03-21 10:09:01 +01:00
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-03-21 10:09:01 +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-02-01 15:23:08 +01:00
vfs.c nfsd: lock_rename() needs both directories to live on the same fs 2024-02-02 14:12:59 +01:00
vfs.h
xdr.h
xdr3.h
xdr4.h
xdr4cb.h