Matthew DeVore has uploaded this change for review.

View Change

Use non-shadowed initialized variable

Probably introduced in 9fb03f1ecf2e8b95a1ebf2178a2eb719a467407d. I have
not tested it before or after this fix, but the code is apparently
wrong--in the exports loop, the glist_entry (container_of) invocation
reads the uninitialized glist in the loop's scope, which shadows the
glist declared at function scope.

Signed-off-by: Matthew DeVore <matvore@google.com>
Change-Id: Ic26d17f5cbe00aca4916d0607992f70f9a8c9ed7
---
M src/FSAL/localfs.c
1 file changed, 8 insertions(+), 8 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/78/526978/1

To view, visit change 526978. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ic26d17f5cbe00aca4916d0607992f70f9a8c9ed7
Gerrit-Change-Number: 526978
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew DeVore <me@matvore.com>
Gerrit-MessageType: newchange