Modify VFS_HANDLE_LEN so that it is large enough for PanFS file handles embedded in a BSD handle

Signed-off-by: Brent Welch <welch@panasas.com>
Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
FSAL_VFS: Get rid of linkat2() from FSAL_VFS

linkat2() implementation was using 'procfs' for getting to the original file
object  which doesn't really work on FreeBSD platform.

Note that, this commit still causes link() to fail on FreeBSD platform since it
doesn't support empty path names.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
ACK-by: Sachin Bhamare <sbhamare@panasas.com>
Restore call to RPC XDR free.

Thanks to Rong Zeng (<rongzeng@us.ibm.com>) for catching this
and verifying the result.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Advance TI-RPC branch point to duplex-4.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Link Ganesha main programs statically with libntirpc

Since libtool presently does not permit anything like full
control over linker options, and since neither '-static'
nor '-all-static' has the required behavior, just add the
static object to LDADD (and don't reference the libtool
object at all).

Also, libtool once again links the Ganesha program
executables in the build directory (not in, say .libs).

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bump tirpc.sh to use duplex-6

This branch has all the K&R all scrubbed and polished into ANSI

Signed-off-by: Jim Lieb <jlieb@panasas.com>
PROXY FSAL - don't leak locks when renewing NFSv4 client id

Also fix cut'n'paste errors

Signed-off-by: Max Matveev <makc@gmx.co.uk>
Strict compile - add prototype for mkdir(2)

Signed-off-by: Max Matveev <makc@gmx.co.uk>
Don't leak Unix cl_auth.

Unix cl_auth structures were leaked in nfs_rpc_callback.c.
While there, removed inaccurate comment from package
description.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Unconditionally configure lib(n)tirpc.

Ensure lib(n)tirpc is configured correctly for Ganesha,
so the right thing happens, overriding the state of
contrib/libtirpc, removes one more gotcha.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Tweak libgssglue usage for RHEL 5,6.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add missing s\/rpc.h\/ganesha_rpc.h" in SAL\/Makefile.am.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fail configure if contrib/libtirpc not present.

Fixes, um, the bug of looping forever looking for it.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Move nfsv{2,3,4}_function_names[].

Fixes linker errors when the stats exporter is enabled,
but SNMP is not.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Remove more redundant definitions in RPCAL/TIRPC/tirpc.h.
Remove an unused definition from gssd.h. Also, fix the types
of several returns in HashTable.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Finish moving Move nfsv{2,3,4}_function_names[].

Completes commit 48aaaff74006efc62d1fb40ec817b538870ab186.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fixes for "make rpm."

Using ../contrib as a subdir was presenting problems, so
we stop doing it.  Then paths resolved using AC_SUBST, and
always full.  The RPCAL/TIRPC dir should have been removed,
don't mention it in configure.ac.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Remove RPCAL/TIRPC.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add nfs_rpc_callback.h to include/Makefile.am noinst_HEADERS.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Don't print TIRPCDIR.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>