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>
Open FSAL_O_RDWR if state is acquired on a file.

This is required for FSALs such as FSAL_VFS that have silly POSIX
behavior where all locks are released if ANY file descriptor is
closed.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'martinetd/next' into merge_next

For commit 140ad292d91
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Signed-off-by: Matt Benjamin <matt@linuxbox.com>

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Strict compile fix in VFS

Missed unused var in 140ad292d918f

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Update the Changelog and README for V2.0 release.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Correct versioning comments in src/CMakeLists.txt

Changed patch level rule to better conform to RPM and debian
naming rules.

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

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

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