diff options
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r-- | fs/nfs/unlink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 47530aacebfd..9a16bad5d2ea 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -262,7 +262,6 @@ nfs_async_unlink(struct inode *dir, struct dentry *dentry) | |||
262 | status = PTR_ERR(data->cred); | 262 | status = PTR_ERR(data->cred); |
263 | goto out_free; | 263 | goto out_free; |
264 | } | 264 | } |
265 | data->res.seq_res.sr_slotid = NFS4_MAX_SLOT_TABLE; | ||
266 | data->res.dir_attr = &data->dir_attr; | 265 | data->res.dir_attr = &data->dir_attr; |
267 | 266 | ||
268 | status = -EBUSY; | 267 | status = -EBUSY; |
@@ -427,7 +426,7 @@ nfs_async_rename(struct inode *old_dir, struct inode *new_dir, | |||
427 | .flags = RPC_TASK_ASYNC, | 426 | .flags = RPC_TASK_ASYNC, |
428 | }; | 427 | }; |
429 | 428 | ||
430 | data = kmalloc(sizeof(*data), GFP_KERNEL); | 429 | data = kzalloc(sizeof(*data), GFP_KERNEL); |
431 | if (data == NULL) | 430 | if (data == NULL) |
432 | return ERR_PTR(-ENOMEM); | 431 | return ERR_PTR(-ENOMEM); |
433 | task_setup_data.callback_data = data, | 432 | task_setup_data.callback_data = data, |