nfsd41: implement NFS4_SHARE_WANT_NO_DELEG, NFS4_OPEN_DELEGATE_NONE_EXT, why_no_deleg
authorBenny Halevy <benny@tonian.com>
Thu, 16 Feb 2012 18:57:17 +0000 (20:57 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 17 Feb 2012 23:38:53 +0000 (18:38 -0500)
commitd24433cdc91c0ed15938d2a6ee9e3e1b00fcfaa3
tree7e8d0b0f71f9cc11bc5ac95694532f1759f30851
parent03cfb42025a16dc45195dbdd6d368daaa8367429
nfsd41: implement NFS4_SHARE_WANT_NO_DELEG, NFS4_OPEN_DELEGATE_NONE_EXT, why_no_deleg

Respect client request for not getting a delegation in NFSv4.1
Appropriately return delegation "type" NFS4_OPEN_DELEGATE_NONE_EXT
and WND4_NOT_WANTED reason.

[nfsd41: add missing break when encoding op_why_no_deleg]
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h
include/linux/nfs4.h