nfs: don't queue synchronous NFSv4 close rpc_release to nfsiod
diff mbox

Message ID 20110216131307.0880ad00@tlielax.poochiereds.net
State RFC, archived
Headers show

Commit Message

Jeff Layton Feb. 16, 2011, 6:13 p.m. UTC
None

Patch
diff mbox

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 40381d2..0e3d75f 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1849,6 +1849,7 @@  static void nfs4_free_closedata(void *data)
        struct nfs4_closedata *calldata = data;
        struct nfs4_state_owner *sp = calldata->state->owner;
 
+       msleep(100);
        if (calldata->roc)
                pnfs_roc_release(calldata->state->inode);
        nfs4_put_open_state(calldata->state);