diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2024-09-23 10:05:46 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-11 19:41:58 +0100 |
commit | b7165ab074b8cd592dcd9304802ee1d999494c6d (patch) | |
tree | 95bdadc16ed4043cef1f7e835463a9b326e3e380 /fs | |
parent | svcrdma: Address an integer overflow (diff) | |
download | linux-b7165ab074b8cd592dcd9304802ee1d999494c6d.tar.xz linux-b7165ab074b8cd592dcd9304802ee1d999494c6d.zip |
NFSD: Remove unnecessary posix_acl_entry pointer initialization
The posix_acl_entry pointer pe is already initialized by the
FOREACH_ACL_ENTRY() macro. Remove the unnecessary initialization.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4acl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4acl.c b/fs/nfsd/nfs4acl.c index 96e786b5e544..936ea1ad9586 100644 --- a/fs/nfsd/nfs4acl.c +++ b/fs/nfsd/nfs4acl.c @@ -198,8 +198,6 @@ summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas) memset(pas, 0, sizeof(*pas)); pas->mask = 07; - pe = acl->a_entries + acl->a_count; - FOREACH_ACL_ENTRY(pa, acl, pe) { switch (pa->e_tag) { case ACL_USER_OBJ: |