Martin Schwenke has uploaded this change for review.

View Change

9P: Avoid grace reference counting bug

Prior code in this case increments the no-grace reference count via
nfs_get_grace_status(false). An early break from this case also needs
to decrement it.

This is a regression introduced by commit
7b1ff6e00d095f1fceb0f56243ac0ad365e31d9c.

Reported-by: Arnab Tah <atah@ddn.com>
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Change-Id: If7f3a6a663d89886cdab1a28fc8b269760084899
---
M src/Protocols/9P/9p_lock.c
1 file changed, 1 insertion(+), 0 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If7f3a6a663d89886cdab1a28fc8b269760084899
Gerrit-Change-Number: 1195478
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Schwenke <martin@meltin.net>