Reintroduce -DUSE_TIRPC_IPV6=ON option

Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
MORE OPDG10

Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
Fix OPEN30

For open replay, we need to track the directory cache entry pointer not
the resulting file cache entry pointer.

The entry is saved by Copy_nfs4_state_req and checked by
Check_nfs4_seqid when validating a replayed request.

Ported from 1.5: 9d8a485c1b5726919a62a77e453341840b3e81ba

Additional fixes for 2.0:

open4_open_owner returns bool instead of the status, because
Check_nfs4_seqid could return ANY code including NFS4_OK, and if
we got there, then we have a replayed request.

entry_parent needs to be set at the to for use in Copy_nfs4_state_req.

Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
Properly fix CLOSE4

It turns out Ganesha really wasn't handling a CLOSE with an invalid
stateid properly. If we detect that the stateid belongs to a valid
clientid, we can return NFS4_OK, but in that case, we must also
update the lease.

We also need to make sure that ONLY CLOSE is affected by this
functionality. V4.1 also handles leases differently.

Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
Update 15to20-porting.txt

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