Sachin Punadikar has uploaded this change for review.

View Change

Fix coverity issues by altering branching logic.

For optimized branching, "unlikely" was used, but coverity scan reported
lot of issues for same check again. Changed/altered the logic to make
use of "likely" to have similar effect in branching optimization and to
satisfy coverity scans.
Solving issues - CID 502229, 502246, 502163, 502220, 502066, 502211,
502055, 502209, 502178, 502051, 502119

Change-Id: I5950eb363289e67f1fb2ae649fa0987197e4a9f4
Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com>
---
M src/support/server_stats.c
1 file changed, 47 insertions(+), 23 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5950eb363289e67f1fb2ae649fa0987197e4a9f4
Gerrit-Change-Number: 1200492
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar@ibm.com>