diff options
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r-- | fs/nfs/unlink.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 79b97b3c4427..52d533967485 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -39,6 +39,7 @@ nfs_free_unlinkdata(struct nfs_unlinkdata *data) | |||
39 | /** | 39 | /** |
40 | * nfs_async_unlink_done - Sillydelete post-processing | 40 | * nfs_async_unlink_done - Sillydelete post-processing |
41 | * @task: rpc_task of the sillydelete | 41 | * @task: rpc_task of the sillydelete |
42 | * @calldata: pointer to nfs_unlinkdata | ||
42 | * | 43 | * |
43 | * Do the directory attribute update. | 44 | * Do the directory attribute update. |
44 | */ | 45 | */ |
@@ -54,7 +55,7 @@ static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) | |||
54 | 55 | ||
55 | /** | 56 | /** |
56 | * nfs_async_unlink_release - Release the sillydelete data. | 57 | * nfs_async_unlink_release - Release the sillydelete data. |
57 | * @task: rpc_task of the sillydelete | 58 | * @calldata: struct nfs_unlinkdata to release |
58 | * | 59 | * |
59 | * We need to call nfs_put_unlinkdata as a 'tk_release' task since the | 60 | * We need to call nfs_put_unlinkdata as a 'tk_release' task since the |
60 | * rpc_task would be freed too. | 61 | * rpc_task would be freed too. |
@@ -159,8 +160,8 @@ static int nfs_call_unlink(struct dentry *dentry, struct inode *inode, struct nf | |||
159 | 160 | ||
160 | /** | 161 | /** |
161 | * nfs_async_unlink - asynchronous unlinking of a file | 162 | * nfs_async_unlink - asynchronous unlinking of a file |
162 | * @dir: parent directory of dentry | 163 | * @dentry: parent directory of dentry |
163 | * @dentry: dentry to unlink | 164 | * @name: name of dentry to unlink |
164 | */ | 165 | */ |
165 | static int | 166 | static int |
166 | nfs_async_unlink(struct dentry *dentry, const struct qstr *name) | 167 | nfs_async_unlink(struct dentry *dentry, const struct qstr *name) |
@@ -324,6 +325,7 @@ static const struct rpc_call_ops nfs_rename_ops = { | |||
324 | * @new_dir: target directory for the rename | 325 | * @new_dir: target directory for the rename |
325 | * @old_dentry: original dentry to be renamed | 326 | * @old_dentry: original dentry to be renamed |
326 | * @new_dentry: dentry to which the old_dentry should be renamed | 327 | * @new_dentry: dentry to which the old_dentry should be renamed |
328 | * @complete: Function to run on successful completion | ||
327 | * | 329 | * |
328 | * It's expected that valid references to the dentries and inodes are held | 330 | * It's expected that valid references to the dentries and inodes are held |
329 | */ | 331 | */ |