diff options
| author | James Simmons <jsimmons@infradead.org> | 2016-05-23 20:35:08 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 22:39:41 -0700 |
| commit | b788dc51e4255b700f566a5d63a9c5028d631c77 (patch) | |
| tree | 00227f0249a3f2507ce702cc6475aa221138e7fa /tools/perf/scripts/python/bin | |
| parent | c6c7a17010697377df1241a2914e3c1e5582e234 (diff) | |
| download | kernel-b788dc51e4255b700f566a5d63a9c5028d631c77.tar.gz | |
staging: lustre: llite: drop acl from cache
Commit b8a7a3a6 change get_acl() for posix xattr to always cache
the ACL which increases the reference count. That reference count
can be reduced by have ll_get_acl() call forget_cached_acl() which
it wasn't. When an inode gets deleted by Lustre the POSIX ACL
reference count is tested to ensure its 1 and if not produces an error.
Since forget_cached_acl() was not called Lustre started to complain.
This patch changes ll_get_acl() to call forget_cached_acl().
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
