>From Jeff Layton <jlay...@redhat.com>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/382843
Change subject: reaper: remove the in_grace variable from reaper_state
......................................................................
reaper: remove the in_grace variable from reaper_state
It's always overwritten on entry into reaper_run. Just check
nfs_in_grace() as necessary. Reorder fields in reaper_run for fewer
holes too, while we're at it.
Finally, remove explicit initialization of reaper_state. It's not
necessary since global variables are always initialized to zero in C.
Change-Id: Ib028ca03388ea184de2442ba1bf30374c97a4a5d
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/MainNFSD/nfs_reaper_thread.c
1 file changed, 3 insertions(+), 10 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/43/382843/1
--
To view, visit https://review.gerrithub.io/382843
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib028ca03388ea184de2442ba1bf30374c97a4a5d
Gerrit-Change-Number: 382843
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel