diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-06-18 12:20:55 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-06-21 12:06:16 -0400 |
commit | 1fcb6fcd74a222d9ead54d405842fc763bb86262 (patch) | |
tree | e076dc317ff39a7a0c78ee62b62489191ddb9f6a /fs/nfs/cache_lib.h | |
parent | bc1c56e9bbe92766d017efb5f0a0c71f80da5570 (diff) | |
download | lwn-1fcb6fcd74a222d9ead54d405842fc763bb86262.tar.gz lwn-1fcb6fcd74a222d9ead54d405842fc763bb86262.zip |
nfs: fix acl memory leak of posix_acl_create()
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: 013cdf1088d7 ("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>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions