Reported-by: Bian Naimeng <biannm@xxxxxxxxxxxxxx> Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> --- fs/nfs/delegation.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c index b9c3c43..62f296e 100644 --- a/fs/nfs/delegation.c +++ b/fs/nfs/delegation.c @@ -106,6 +106,7 @@ again: continue; if (memcmp(state->stateid.data, stateid->data, sizeof(state->stateid.data)) != 0) continue; + clear_bit(NFS_DELEGATED_STATE, &state->flags); get_nfs_open_context(ctx); spin_unlock(&inode->i_lock); err = nfs4_open_delegation_recall(ctx, state, stateid); -- 1.7.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html