recovery: fix for nfs41_delegation_to_open()
emc server uses STALE_STATEID error after server reboot, while linux server uses BAD_STATEID Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
8e5ab92b2b
commit
284c273999
2 changed files with 3 additions and 2 deletions
|
|
@ -521,7 +521,7 @@ static bool_t recover_stateid_delegation(
|
|||
AcquireSRWLockShared(&stateid->open->lock);
|
||||
if (argop->op == OP_OPEN && stateid->open->do_close) {
|
||||
/* for nfs41_delegation_to_open(); if we've already reclaimed
|
||||
* an open stateid, just fail this OPEN with BAD_STATEID */
|
||||
* an open stateid, just fail this OPEN with BAD_STATEID */
|
||||
} else if (stateid->open->delegation.state) {
|
||||
nfs41_delegation_state *deleg = stateid->open->delegation.state;
|
||||
stateid4 *source = &deleg->state.stateid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue