Added version number to file handle.
pynfs case CMT4 bug fix. Need to save matching stateid for update under EXCLUSIVE4 case.
added client expiration routine and related structural change in owner/state/client_id
Fix compiler warnings in latest upstream next branch

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>

Conflicts:

	src/SAL/nfs4_lease.c
	src/include/sal_functions.h

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Make some updates to default GPFS config

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Remove NIV_FULL_DEBUG for COMPONENT_MEMLEAKS when --enable-debug-memleaks

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Add debug for clnt_call errors

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Add SIGPIPE to set of signals ignored.

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Fix NLM async call back to handle client closing connection

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
cache_inode_new_entry and cache_inode_create were not handling cache_inode_create_arg_t being null properly.
Also, some parameters were used without being initialized in cache_inode_create_arg_t.
NFS4 ACLs: Fix build break introduced by cache_entry_t change.
Fix failure in pynfs LOCK8a, need to record both open and lock owner seqid for new lock owner

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Fix stateid check to not accept OTHER=all 0 or OTHER=all 1 with invalud seqid

And, if special stateids are not allowed (for open and lock for example), reject them as NFS4ERR_BAD_STATEID instead of NFS4ERR_STALE_STATEID

Changes pynfs results of:

**************************************************
CLOSE4   st_close.testBadStateid                                  : FAILURE
           CLOSE with a bad stateid should return
           NFS4ERR_BAD_STATEID, instead got NFS4ERR_STALE_STATEID
INIT     st_setclientid.testValid                                 : PASS
LKU8     st_locku.testBadLockStateid                              : FAILURE
           LOCKU with a bad stateid should return
           NFS4ERR_BAD_STATEID, instead got NFS4ERR_STALE_STATEID
LOCK11   st_lock.testBadStateid                                   : FAILURE
           LOCK with a bad stateid should return
           NFS4ERR_BAD_STATEID, instead got NFS4ERR_STALE_STATEID
MKFILE   st_open.testOpen                                         : PASS
OPCF5    st_openconfirm.testBadStateid                            : FAILURE
           OPEN_CONFIRM with a bad state should return
           NFS4ERR_BAD_STATEID, instead got NFS4ERR_STALE_STATEID
OPDG5    st_opendowngrade.testBadStateid                          : FAILURE
           OPENDOWNGRADE with bad stateid should return
           NFS4ERR_BAD_STATEID, instead got NFS4ERR_STALE_STATEID
RD9      st_read.testBadStateid                                   : PASS
WRT10    st_write.testBadStateid                                  : PASS
**************************************************

to

**************************************************
CLOSE4   st_close.testBadStateid                                  : PASS
INIT     st_setclientid.testValid                                 : PASS
LKU8     st_locku.testBadLockStateid                              : PASS
LOCK11   st_lock.testBadStateid                                   : PASS
MKFILE   st_open.testOpen                                         : PASS
OPCF5    st_openconfirm.testBadStateid                            : PASS
OPDG5    st_opendowngrade.testBadStateid                          : PASS
RD9      st_read.testBadStateid                                   : PASS
WRT10    st_write.testBadStateid                                  : PASS
**************************************************

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
LOCKT has a lock owner not open owner, fixes pynfs LOCKTOVER failure

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>

Conflicts:

	src/Protocols/NFS/nfs41_op_lockt.c
	src/Protocols/NFS/nfs4_op_lockt.c

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Allow if a lock owner is re-used and it doesn't have locks that any lock_seqid is allowed

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Fix logic for merging locks (fixes pynfs LOCKMRG)

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Fix lock upgrade/downgrade (fix pynfs LOCKCHGD and LOCKCHGU)

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Make open_downgrade work at least a little bit

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Fix some issues with SM_NOTIFY processing

Need to build nsm_client using caller_name even if working from IP address. So derrive IP address from caller_name.

Need to handle empty lists in state_nlm_notify before dereferencing found_entry.

display_nlm_client and display_nlm_owner need to handle special nlm_client and special nlm_owner.

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Register wit NSM using UTS nodename

Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>