Daniel Gryniewicz has uploaded this change for review.

View Change

VFS - Make sure to unlock on failure case

If find_fd() fails, it was returning with fdlock taken, causing
potential deadlock. Re-arrange so it can use the normal error exit
path.

Change-Id: Ie84458c120b183715208ae643482826abbeb696b
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/FSAL_VFS/file.c
1 file changed, 5 insertions(+), 3 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie84458c120b183715208ae643482826abbeb696b
Gerrit-Change-Number: 424860
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com>