Avoid buffer overrun in capget.

The code asserted V1 of the capabilities interface, when
in fact it must check.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
9P/RDMA: remove no-longer necessary structure "datalock"

This caused a bug where datalock would be overwritten between the send (end of processing)
and send callback (putback outbuf to the queue)

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Checkpatch fixes for RC5

A bunch of check patch errors have snuck into Ganesha since I completed
checkpatch. Course I myself introduced one culprit set of changes...

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove website directory

It's obsoleted by the website/wiki we have on github and is horrendously
out of date.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Thread fridge: s/frigethr/fridgethr/

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Dead code removal of pnfs_common_dummy

Remove linkage hack from the days of autotools...

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Add GSS lib check to Cmake's required tests.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
RPM: new way of managing RPM.

The rpm spec file is no more generated on the fly.
It becomes a configure_file managed by CMake (name of the source tarball has to be set in it).
The spec file is now part of the generated tarball, making it possible to run "rpmbuild -ta <tgz file>"

By default, the specfile will generate libs only for FSAL_VFS and FSAL_PROXY. More fsals can be compiled
and packaged by using the "--with" option in rpmbuild.
For example: rpmbuild --with lustre -ta <tgz file>

This option works for rpmbuild --rebuild : rpmbuild --with xfs --rebuild <src.rpm file>

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

Take FBSD fixes.  Take safe-ref.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Revert 'Final fix ( hopefully ) of the VFS handle size' until the second part of fbsd recall fixes is submitted

(cherry picked from commit 98b7d2b062ad6a3f94dd249b521e512a828149ac)

Back out change for final. It is not really ready for prime time.  Only
affects FreeBSD.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge branch 'dev_next_bugs' into merge_next
Merge remote-tracking branch 'ffilz/RC5-checkpatch' into merge_next

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

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

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

Conflicts:
	src/MainNFSD/nfs_init.c

Signed-off-by: Jim Lieb <jlieb@panasas.com>
CHECKPATCH: src/FSAL/FSAL_PROXY/handle_mapping

Signed-off-by: Jim Lieb <jlieb@panasas.com>
V2.0-RC-final

Signed-off-by: Jim Lieb <jlieb@panasas.com>
FSAL_VFS: Change vfs_fsal_open_and_stat so that it returns with its fd wether it should be closed

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: clunk in a tool function that is used both on client exit and clunk

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: lopen: make pfid->opens increment atomic in the very unlikely case a single fid is opened twice

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>