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>
Strip out export reload admin command and thread pause/resume

This code has not been hooked up in ages. Eventually we will probably
have an export reload, but it won't look anything like this code (and
won't require pausing threads).

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Move  expire_type_attr and expire_time_attr from exportlsit_t to gsh_export

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

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove exportlist_t reference from compound_data_t

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Need to test req_ctx->export in NLM functions for bad handle processing

For NLM calls where handle is bad, NLM must handle response in the case
of async "MSG" calls, so we just defer to NLM routines to respond with
NLM4_STALE_FH (NLM doesn't have a BADHANDLE code)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove exportlist_t from protocol functions

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