Move exp_root_cache_inode from exportlist_t to gsh_export

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move exp_junction_inode and exp_parent_exp from exportlist_t to gsh_export

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move exp_mounted_on_file_id from exportlist_t to gsh_export

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Replace references to exportlist_t export_hdl with req_ctx->fsal_export

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Switch export config to using gsh_export instead of exportlist_t

Also switch some very closely related functions to taking gsh_export
instead of exportlist_t.

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

Conflicts:
	src/support/exports.c
Move export_hdl from exportlist_t to gsh_export as fsal_export

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

Conflicts:
	src/support/exports.c
Convert various export routines to use gsh_export instead of exportlist_t

Some functions thus can now just take a req_op_context

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add export_perms to req_op_context

This allows several functions to no longer require passing an
export_perms parameter.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make state_t state_export be a gsh_export instead of an exportlist_t

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make sle_export gsh_export instead of exportlist_t

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move id from exportlist_t to gsh_export as export_id

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make proper req_op_context in state_lock.c

We need to make sure the right export is in the op context. Also
when performing operations on blocked locks and such, we should
use a root op context because we don't know the original credentials.

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

This function no longer accomplishes anything useful. We now have a new
mechanism for properly setting up a req_op_context to run things in.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Cleanup state_nlm_block_data_t

Get rid of sbd_nlm_hostaddr which is never used.

Trim some identifier lengths for more readable code.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make FSAL create_export take req_op_context to pass export bits

The FSAL create_export routine is responsible for filling in
req_ctx->fsal_export with the newly created fsal_export.

The routine may look at req_ctx->export to get the protocol level
details, particularly fullpath which describes the export.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move fullpath, pseudopath, and FS_Tag from exportlist_t to gsh_export

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

Conflicts:
	src/support/exports.c
Move MaxRead, MaxWrite, etc. from exportlist_t to gsh_export

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Replace exportlist_t with gsh_export in many functions and data

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move filesystem_id from exportlist_t to gsh_exports

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move UseCookieVerifier from exportlist_t to gsh_exports

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