1
linux/fs/nfsd
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
..
acl.h
auth.c
auth.h
cache.h
current_stateid.h nfsd41: use current stateid by value 2012-02-15 11:20:45 -05:00
export.c nfsd: remove some unneeded checks 2012-02-03 14:26:42 -05:00
fault_inject.c NFSD: Added fault injection 2011-11-07 21:10:47 -05:00
fault_inject.h NFSD: Added fault injection 2011-11-07 21:10:47 -05:00
idmap.h
Kconfig NFSD: Added fault injection 2011-11-07 21:10:47 -05:00
lockd.c
Makefile NFSD: Added fault injection 2011-11-07 21:10:47 -05:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4acl.c
nfs4callback.c SUNRPC: Clean up the RPCSEC_GSS service ticket requests 2012-01-05 10:42:38 -05:00
nfs4idmap.c NFSd: use network-namespace-aware cache registering routines 2011-12-07 15:27:46 -05:00
nfs4proc.c nfsd41: split out share_access want and signal flags while decoding 2012-02-17 18:38:42 -05:00
nfs4recover.c Merge branch 'for-3.3' of git://linux-nfs.org/~bfields/linux 2012-01-14 12:26:41 -08:00
nfs4state.c nfsd41: refactor nfs4_open_deleg_none_ext logic out of nfs4_open_delegation 2012-03-06 18:13:34 -05:00
nfs4xdr.c nfsd41: implement NFS4_SHARE_WANT_NO_DELEG, NFS4_OPEN_DELEGATE_NONE_EXT, why_no_deleg 2012-02-17 18:38:53 -05:00
nfscache.c
nfsctl.c Merge branch 'for-3.3' of git://linux-nfs.org/~bfields/linux 2012-01-14 12:26:41 -08:00
nfsd.h NFSD: Remove unnecessary whitespace 2011-11-07 21:10:48 -05:00
nfsfh.c fs: propagate umode_t, misc bits 2012-01-03 22:55:10 -05:00
nfsfh.h fs: propagate umode_t, misc bits 2012-01-03 22:55:10 -05:00
nfsproc.c
nfssvc.c nfsd: fix default iosize calculation on 32bit 2012-02-03 15:33:17 -05:00
nfsxdr.c
state.h nfsd4: check for uninitialized slot 2012-02-14 17:01:58 -05:00
stats.c
vfs.c Merge branch 'for-3.3' of git://linux-nfs.org/~bfields/linux 2012-01-14 12:26:41 -08:00
vfs.h fs: propagate umode_t, misc bits 2012-01-03 22:55:10 -05:00
xdr3.h
xdr4.h nfsd41: implement NFS4_SHARE_WANT_NO_DELEG, NFS4_OPEN_DELEGATE_NONE_EXT, why_no_deleg 2012-02-17 18:38:53 -05:00
xdr.h