Fixed byte range lock merging when up- or downgrading sub-ranges

Signed-off-by: Manfred Haubrich <haubrich@de.ibm.com>
Declare nfs_rpc_rdvs mtx static.

This was always intended to be static.  Reported by Maxim
Gorbachyov <maxim.gorbachyov@gmail.com>.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Add location tracing to SVC_REF, SVC_RELEASE, gsh_xprt_(un)ref.

This is slightly messy, but extremely helpful in debugging
refcount/lifecycle issues.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fix ref leaks in nfs_rpc_dispatcher.c.

The "already stalled" case is probably impossible, but the second
case is common.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Update tirpc commit.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Re-target tirpc.sh to official repo.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fix NLM compiler flag typo
Signed-off-by: Allison Henderson <achender@vnet.linux.ibm.com>