diff options
author | Mahmoud Adam <mngyadam@amazon.com> | 2023-11-10 19:21:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-28 16:55:01 +0000 |
commit | 6875820f36bfb208d656f7ea6f457d8f78b9d8a3 (patch) | |
tree | 95a37b8408a930f33239981486aeb3b7dfdde89c /mm | |
parent | b51b20c018c6815e7d3bdb49f4a2ab465339c248 (diff) | |
download | linux-6875820f36bfb208d656f7ea6f457d8f78b9d8a3.tar.gz linux-6875820f36bfb208d656f7ea6f457d8f78b9d8a3.tar.bz2 linux-6875820f36bfb208d656f7ea6f457d8f78b9d8a3.zip |
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: 78599c42ae3c ("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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions