Fix AUTH_NULL in callbacks

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Update Ceph FSAL for new Ceph API

This commit temporarily disables pNFS until new pNFS API is put in
place.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Do not check source address session creation

The credentials must match, but, with trunking, clients can connect to
us from more than one interface.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix second argument type on signed atomic add/sub

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Use atomic increment for session sequence

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Sessionid is in the session, don't allocate

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Allow for multiple sessions from the same client.
Bump tirpc for client/backchannel change

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Don't free gsh_export, free export_stats!

Needed container_of'd correct pointer.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Jim Lieb <jlieb@panasas.com>
9P: fixing lost user override case in TLCREATE

(cherry picked from commit 8a23a0c8b7a3e3d59af2a94819b1ab84bdf7bd28)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
9P/RDMA: better cleanup on disconnect (call msk_destroy_trans, wait for refcount to drop to 0)

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
(cherry picked from commit 420ede4339244d1b2ee70dd4060c7895a7f41dd9)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
9P: lcreate reorder inc_pin_ref - we cannot fail after pfid->pentry was changed

(cherry picked from commit f5ee2283f1a1b0d45fabccdcdc0f037ea6a4dc86)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
RPM: adding what's necessary to handle FSAL_NULL in RPMs

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
(cherry picked from commit 649a9fc46e8e26ca3a56feeaa0707f4ba02eb12b)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
MAIN: add support for capabilities (needed for quota and CRED_WRAP in VFS)

(cherry picked from commit f68a08cab70619ab81316d81422753fb80da6da0)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'marc/dev40-multiple-sessions' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge branch 'for_dev40' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix some portability issues in posix2fsal_attributes().

"struct stat" differs (surprise!) on Linux and FreeBSD in naming certain member
variables. This commit accounts for them by putting platform specific code under
appropriate #ifdef blocks.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
(cherry picked from commit 5085059a71d9ea90580c28d8126c24f248e9dbe1)
Fix few strict mode compile warnings on FreeBSD platform

This commit fixes couple of "xxx may be used uninitialized" warnings seen with
following version.  gcc (GCC) 4.2.1 20070719

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
(cherry picked from commit ce53baf6c0bad32996c8bf502d35d667d41794d5)
Limit the libcap interface usage to Linux platform.

libcap library is Linux specific. Any code/include files that reference to this
facility should only be compiled on Linux platform.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Fix portability issue in check_convert_ipv6_to_ipv4().

Referencing shorthand variables other than s6_addr in 'struct in6_addr' is not
portable across platforms.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>