Commit 5cc7688
NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
If the client is doing pnfs IO and Kerberos is configured and EXCHANGEID
successfully negotiated SP4_MACH_CRED and WRITE/COMMIT are on the
list of state protected operations, then we need to make sure to
choose the DS's rpc_client structure instead of the MDS's one.
Fixes: fb91fb0 ("NFS: Move call to nfs4_state_protect_write() to nfs4_write_setup()")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent 4f3ed83 commit 5cc7688
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5647 | 5647 | | |
5648 | 5648 | | |
5649 | 5649 | | |
5650 | | - | |
| 5650 | + | |
5651 | 5651 | | |
5652 | 5652 | | |
5653 | 5653 | | |
| |||
5688 | 5688 | | |
5689 | 5689 | | |
5690 | 5690 | | |
5691 | | - | |
| 5691 | + | |
| 5692 | + | |
5692 | 5693 | | |
5693 | 5694 | | |
5694 | 5695 | | |
| |||
0 commit comments