NFSv4: Cleanup: pass the nfs_open_context to open recovery code
[linux-2.6-block.git] / fs / nfs / delegation.c
index b47c156a711dff1eab308bb37b79d8a9196b01a4..9f17b91205cf51499e42324e97a8fd5f3b7cf171 100644 (file)
@@ -74,7 +74,7 @@ again:
                        continue;
                get_nfs_open_context(ctx);
                spin_unlock(&inode->i_lock);
-               err = nfs4_open_delegation_recall(ctx->path.dentry, state);
+               err = nfs4_open_delegation_recall(ctx, state);
                if (err >= 0)
                        err = nfs_delegation_claim_locks(ctx, state);
                put_nfs_open_context(ctx);