Clean up stray debug printfs into log messages

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix LOTS of checkpatch errors

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Enable Mnt_Port and NLM_Port core config options

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move convert_opaque_value_max_for_dir out of display.c

This function is very specific and does not belong in a general library.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Revert "Add USE_ADMIN_TOOLS option to everything build"

The admin GUI tools use a translation tool from PyQt4 which not all
distros have.  Since these scripts are "reference implementation", they
should not create any additional build requirements.  The "everything"
build is for developers to ensure that everything we ship works so this
requirement just becomes a nuisance.

This reverts commit f5f6411d45a3f9955b0d95eea244fb0f4471690e.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
USE_TSAN was not propagated to the CMakeCache.txt

Fix a typo as well

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Move some forgotten pieces of scripts to more appropriate places.

move anything messing with the UI into QtUI subdir

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

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix CID24140 - don't close fd -1 in vfs_create_handle

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
RPM: change specfile template to take new FSAL_XFS library into account

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
FSAL_GLUSTER: Change in glfs_get_volumeid(..) api definition
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Fix CID24141 and CID24142 - Always set major and minor in change_fsid_type

Also fix issue converting from FSID_MAJOR_64 to FSID_TWO_UINT64 which
NOW MUST be re-indexed.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Reviewed-by: Jim Lieb <jlieb@panasas.com>
Fix CID24143 - double free of dev_name in posix_get_fsid

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add err_type for detailed parse/process error handling

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Extend load_config_from_parse() and load_config_from_node API for err_type

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Extend err_type into block processing

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove COMPONENT_ from config names, also add short names as synonyms

Also add MID_DEBUG and FULL_DEBUG synonyms

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove COMPONENT_ from dbus variable name

Append COMPONENT_ to all the other places.

Also, dbus log component vars are now "org.ganesha.nfsd.log.component"

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Reviewed-by: Jim Lieb <jlieb@panasas.com>
Fix FSAL_GPFS lookup to work if run on older GPFS without fsid in getattrs

Older GPFS doesn't pass back the fsid in the attributes. We need
to work around that condition.

Fix gpfs_lookup_path to use fsid from handle not attributes.

Fix GPFSFSAL_getattrs to initialize the fsid to 0.0, make the call into
GPFS, and if the fsid is still 0.0, set the fsid from the fsal_filesystem.

Move the XDEV processing into GPFSFSAL_lookup so that it can check the
fsid in the handle for XDEV crossing, and then pass the correct
fsal_filesystem to GPFSFSAL_getattrs.

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Replace token_to_proc() and use strtok_r

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Restore lost code - trim trailing / from EXPORT Path option

The v3 mount matching code assumes fullpath does not have a
trailing slash.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Reviewed-by: Malahal Naineni <malahal@us.ibm.com>