Compile fix for FSAL_GPFS

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
CMake: if CMAKE_BUILD_TYPE is not set, set it to debug. This prevent cmake to fail a few lines under in
cmake script from maintainer_mode.cmake
RPM: now uses new version from src/CMakeLists.txt
Various fixes focused on xattr and system.* xattr namespace.
They are required to have usable ACLs managed via 9P
- 9P/xattr : bug fixed, assumption was made that xattr's
  value is a string. This prevented ACLs
   (content of system.posix_acl_access), which is a binary buffer,
   to be set properly.
- 9P/ACL: Hook added to deal properly with pseudo xattr "system.posix_acl_access"
- 9P/ACL: the protocol implements hooks to deal correctly with "system.posix_acl_access" pseudo xattr
- 9P/xattr : an ACL corner case (visible with FSAL_VFS and not FSAL_LUSTRE) was fixed.
- FSAL_VFS/xattr : code in xattrs.c has been hardened as 9P ACL support was backported to VFS
Fix 9P regression introduced with commit 875f30df5534932a06aa046beafa00ba8a4f4c4c

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
FSAL_LUSTRE: bug fixed. Open flags were not properly managed.
This could produce error when Make_All_User_Anonymous=TRUE.
At the beginning of C files, "vim" related directives have been turned
from "expandtab" to "noexpandtab" which is more convenient with
kernel-style identation.
This commit is the result of
  find . -type f -print0 | xargs -0 sed -i 's/expandtab/noexpandtab/g'
from the src/ directory.

/!\ it touches MANY files (so to say, all of them).
But changes are really minor and located at the very beginning of
the file, so probablility of merge conflicts is pretty small.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
CHECKPATCH: ok for FSAL_NULL

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Merge remote-tracking branch 'phdeniel/pull_request' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix strict compile problem in FSAL/FSAL_VFS/xattrs.c

Comment out set but not used var.  Is the meant for something??

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

Note: also did s/.RC/-RC/.  The '-' is necessary to separate
version number from the release candidate bit.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
FSAL_VFS: CID#18514: fix unreachable return in vfs_getextattr_value_by_id

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
FSAL_VFS: CID#18447: remove dead code in vfs_getextattr_id_by_name

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