android_kernel_xiaomi_sm8350/fs/nfsd
Mahmoud Adam b9e5f633b3 nfsd: fix file memleak on client_opens_release
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>
2023-11-28 16:50:21 +00:00
..
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
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-09-23 10:59:48 +02:00
flexfilelayoutxdr.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h
nfs2acl.c
nfs3acl.c
nfs3proc.c
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
nfs4proc.c nfsd: fix change_info in NFSv4 RENAME replies 2023-09-23 11:00:06 +02:00
nfs4recover.c
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
nfsctl.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
nfsd.h
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c
nfsxdr.c
pnfs.h
state.h
stats.c
stats.h
trace.c
trace.h
vfs.c nfsd: lock_rename() needs both directories to live on the same fs 2023-11-08 11:23:38 +01:00
vfs.h
xdr3.h
xdr4.h
xdr4cb.h
xdr.h