]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSv4: Fix memory leak in nfs4_set_security_label
authorDmitry Mastykin <mastichi@gmail.com>
Wed, 22 May 2024 07:45:24 +0000 (10:45 +0300)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 22 May 2024 15:27:04 +0000 (11:27 -0400)
commitaad11473f8f4be3df86461081ce35ec5b145ba68
tree931d9807eab85b3c58e25522a6249559bdf1da8e
parent3c0a2e0b0ae661457c8505fecc7be5501aa7a715
NFSv4: Fix memory leak in nfs4_set_security_label

We leak nfs_fattr and nfs4_label every time we set a security xattr.

Signed-off-by: Dmitry Mastykin <mastichi@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c