diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-05 19:32:19 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-05 19:32:19 -0500 |
commit | d61e612a728fb9bf848c4383f8f6645e822d5b57 (patch) | |
tree | b4024efc797fa3b992b042f484574c1d43893a61 /fs/nfs/unlink.c | |
parent | f26468fb9384e73fb357d2e84d3e9c88c7d1129d (diff) |
NFSv41: Clean up slot table management
We no longer need to maintain a distinction between nfs41_sequence_done and
nfs41_sequence_free_slot.
This fixes a number of slot table leakages in the NFSv4.1 code.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r-- | fs/nfs/unlink.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 52f7bdb12c83..1064c91ae810 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -81,11 +81,9 @@ static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) | |||
81 | { | 81 | { |
82 | struct nfs_unlinkdata *data = calldata; | 82 | struct nfs_unlinkdata *data = calldata; |
83 | struct inode *dir = data->dir; | 83 | struct inode *dir = data->dir; |
84 | struct nfs_removeres *res = task->tk_msg.rpc_resp; | ||
85 | 84 | ||
86 | if (!NFS_PROTO(dir)->unlink_done(task, dir)) | 85 | if (!NFS_PROTO(dir)->unlink_done(task, dir)) |
87 | nfs4_restart_rpc(task, NFS_SERVER(dir)->nfs_client, | 86 | nfs4_restart_rpc(task, NFS_SERVER(dir)->nfs_client); |
88 | &res->seq_res); | ||
89 | } | 87 | } |
90 | 88 | ||
91 | /** | 89 | /** |