From 7d7d6412833025aefbd83489cd406e6fa876a281 Mon Sep 17 00:00:00 2001 From: "U-fast\\aglo" Date: Tue, 12 Oct 2010 11:12:42 -0400 Subject: [PATCH] return file delegation on open callback code is not up to handling recall of delegations via the callback channel. thus return file delegation if it was returned on open. --- daemon/nfs41_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/nfs41_ops.c b/daemon/nfs41_ops.c index 4c74bad..56b2e06 100644 --- a/daemon/nfs41_ops.c +++ b/daemon/nfs41_ops.c @@ -394,6 +394,7 @@ int nfs41_open( info, &open_res.resok4.cinfo); ReleaseSRWLockShared(&state->path.lock); +#define RETURN_DELEG_ON_OPEN #ifdef RETURN_DELEG_ON_OPEN /* if the server gave us a delegation, return it immediately */ if (open_res.resok4.delegation_type == OPEN_DELEGATE_READ ||