mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
staging: lustre: llite: remove assert for acl refcount
The purpose of this asssert to was to ensure lustre was properly managing its posix_acl access. This test is invalid due to the VFS layer also taking references on the posix_acl. In reality their is no simple way to detect this class of mistakes. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a5c954eff6
commit
6a42e615a2
@@ -1247,7 +1247,6 @@ void ll_clear_inode(struct inode *inode)
|
||||
|
||||
#ifdef CONFIG_FS_POSIX_ACL
|
||||
if (lli->lli_posix_acl) {
|
||||
LASSERT(atomic_read(&lli->lli_posix_acl->a_refcount) == 1);
|
||||
posix_acl_release(lli->lli_posix_acl);
|
||||
lli->lli_posix_acl = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user