Pass fixed up opcode to server stats

Illegal ops can go past the end of the stats array. opcode is already
fixed up to be 0 if the opcode is out of range.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
CID#18435 Incorrect sizeof expression in get_client_record

Calculation won't give expected results,
sizeof(sizeof(struct) + len) will result in sizeof(long).
Fix for bug 1046057: don't add readlink opto DRC.
When returning list of available exports,
don't add the exports which are not accessible to requesting client

Ported from 1.5: 719ee47f03409dd51fbcb80663081679e0afbc52

Signed-off-by: suhrud <supatank@in.ibm.com>
GPFS allows users to take ownership of file if the ACL allows CHOWN for
that user.

Ported from 1.5: 5756e36ba9b1925b3a7bab9f1bee804c26390cc6

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
use https instead of http in .gitmodules

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Merge remote-tracking branch 'ganltc/ibm_next_20' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'marc/bug-1046057' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'tfb-bull/next-pre-v2.1-dev_4' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Make sure fridge thread is ready before using it.
Correctly sequence RPC cleanup.

Removal of service registrations must be performed prior to
svc_shutdown.  To ensure that, do both in the shutdown thread,
in the correct order.

Take the unrelated but necessary fix for SVC_DESTROY shutdown
fault by Jeremey.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Adds "Requires" for rpm nfs-ganesha for every fsal submodule.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>

(cherry picked from commit 08f7f87332196f8378eb0c66b23f068006440b93)
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix strict compile problem

Implicit declaration of Clean_RPC()

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'marc/bug-fridge' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
V2.1-dev_4

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Hush error from nonexistent /etc/system-release

This check is allowed to fail (and expected to on non-RedHat derived
systems).

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix warning in SQLite test

This was just caused by a malformed block, the condition on the 'endif'
didn't match the condition on the 'if'.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
NFS4.2 fallocate support.
bug fix in spec file.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>