Files
linux/fs/nfs
Gao Xiang 1aa42edc56 nfs: fix acl memory leak of posix_acl_create()
[ Upstream commit 1fcb6fcd74 ]

When looking into another nfs xfstests report, I found acl and
default_acl in nfs3_proc_create() and nfs3_proc_mknod() error
paths are possibly leaked. Fix them in advance.

Fixes: 013cdf1088 ("nfs: use generic posix ACL infrastructure for v3 Posix ACLs")
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Joseph Qi <joseph.qi@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 11:27:33 +09:00
..
2017-10-08 10:26:10 +02:00
2016-10-04 16:20:26 -04:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2018-07-03 18:27:19 +02:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2016-05-17 15:47:55 -04:00
2012-07-30 19:06:52 -04:00
2023-05-15 14:30:57 +09:00
2018-02-28 15:09:59 -08:00
2016-07-20 23:30:06 -04:00
2018-03-18 11:18:54 +01:00