nfs4.1: Add state protection handler
authorWeston Andros Adamson <dros@netapp.com>
Tue, 13 Aug 2013 20:37:33 +0000 (16:37 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 5 Sep 2013 14:43:33 +0000 (10:43 -0400)
commitab4c2361358ebdf4933f6bfd1dc98d7a14b55769
treeecc07d0ff2f19dbe91936e2e5729b4dbe4b2017e
parent2031cd1af143f47dacacbb35efbef22f2fd079e6
nfs4.1: Add state protection handler

Add nfs4_state_protect - the function responsible for switching to the machine
credential and the correct rpc client when SP4_MACH_CRED is in use.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h