CID 72601: remove dead code.
cmake: allow the FSAL_DESTINATION to be overwritten

In certain environments, the library pathes are no longer
lib, lib32, and lib64 - such as Debian based systems that support
multiarch where the library path for the 64-bit architectures
are actually /usr/lib/x86_64-linux-gnu/ganesha and use the gnu
tuple based definition for the library.

So, to maintain backwards compatibility just allow an
override to cmake that can install the FSAL modules into
a different location.

Usage:

$ cmake -DFSAL_DESTINATION=lib/x86_64-linux-gnu/ganesha

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
cmake: use the environment DESTDIR override for python installs

In several packaging steps, the DESTDIR is specified to install
the results to a local directory without changing the prefix
of the compilation.

So, in this case use the DESTDIR for the python installation
command to avoid any attempts to install to the root "/usr"
path when doing package installs.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
cmake: add a debian cmake build configuration

In the long run, the cmake packager can be used to create the debian
package by adding all of the appropriate glue definitions into this
file.

In the short term, this configuration is just referenced from
the debian/rules to trampoline from a "git-buildpackage" or a
"dpkg-buildpackage" command into the debian specific build
configuration.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
debian: update the debian configuration for packaging

Update to a 2.1.0 package and remove the specific 1.5.0 patches.

Rough cut, can easily be refined from here

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
uid2grp: make it static like other support libs

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
FSAL LUSTRE: store fsid in handle instead of dev_t

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Merge remote-tracking branch 'ckhardin/master' into next

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

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

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
V2.2-dev-9

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
fsal_up: Fixed an issue in upcall "invalidate_close"

During cache_inode_entry invalidation upcall, make a synchronous
call of cache_inode_invalidate() only if there are no open/active fds
for the object handle of that entry.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
cache_inode: correct confusing log messages

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>
Acked-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Acked-by: Soumya Koduri <skoduri@redhat.com>
Merge remote-tracking branch 'ndevos/trivial/logging/cache_inode_setattr' into next

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Convert FSAL_VFS/panfs to work with the new pnfs_device format.

The pnfs_device format recently changed to have structure in the first
64-bits, as opposed to storing an export ID in that field.  Convert the
panfs implementation in FSAL_VFS to use this new format.

Signed-off-by: Daniel Gryniewicz <dang@linuxbox.com>
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge branch 'panfs' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Use non-printable character instead of DOT for revoked file handles

Revoked delegation file handles are stored as a file name in the client
recovery directory by prefixing a "." to the base16 encoding of the file
handle. nfs4_clean_old_recov_dir() assumes that anything that starts
with "." inside base recovery directory is a revoked file handle but a
client specific recovery directory may have components that start with
"." as well.

This patch prefixes non-printable character '\x1' to the base16 encoding
of the revoked file handle to create file name. This should not conflict
with client recovery directory as it will have only printable
characters.

Also fixed nfs4_clean_old_recov_dir() to not make recursive calls on
revoked file handle names.  Also, removed an unneeded memset to 0.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Reviewed-by: Frank S. Filz <ffilzlnx@mindspring.com>
Acked-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Use continue to avoid extra indentation in nfs4_read_recov_clids()

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Reviewed-by: Frank S. Filz <ffilzlnx@mindspring.com>
Acked-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>