Benny Halevy 4aa8913cb0 nfsd41: refactor nfs4_open_deleg_none_ext logic out of nfs4_open_delegation
When a 4.1 client asks for a delegation and the server returns none
op_delegate_type is set to NFS4_OPEN_DELEGATE_NONE_EXT
and op_why_no_deleg is set to either WND4_CONTENTION or WND4_RESOURCE.
Or, if the client sent a NFS4_SHARE_WANT_CANCEL (which it is not supposed
to ever do until our server supports delegations signaling),
op_why_no_deleg is set to WND4_CANCELLED.

Note that for WND4_CONTENTION and WND4_RESOURCE, the xdr layer is hard coded
at this time to encode boolean FALSE for ond_server_will_push_deleg /
ond_server_will_signal_avail.

Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2012-03-06 18:13:34 -05:00
..
2011-01-04 18:22:10 -05:00
2008-02-01 16:42:05 -05:00
2011-07-18 09:39:01 -04:00
2012-02-03 14:26:42 -05:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-07-18 09:39:01 -04:00
2011-11-07 21:10:48 -05:00
2012-01-03 22:55:10 -05:00
2012-01-03 22:55:10 -05:00
2011-03-31 11:26:23 -03:00
2012-02-14 17:01:58 -05:00
2011-05-10 10:16:21 +02:00
2012-01-03 22:55:10 -05:00