diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-18 04:04:25 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-01 01:28:06 +0100 |
commit | 9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c (patch) | |
tree | 74dbe1f8b150b3a66f5cb3589e5efd51ad9dfff5 /fs/nfs/unlink.c | |
parent | NFSv4: Replace lock_owner->ld_id with an ida based allocator (diff) | |
download | linux-9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c.tar.xz linux-9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c.zip |
NFSv41: Add a new helper nfs4_init_sequence()
Clean up
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, 2 insertions, 2 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 4f9319a2e567..490613b709b6 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c @@ -114,7 +114,7 @@ void nfs_unlink_prepare(struct rpc_task *task, void *calldata) struct nfs_server *server = NFS_SERVER(data->dir); if (nfs4_setup_sequence(server, &data->args.seq_args, - &data->res.seq_res, 1, task)) + &data->res.seq_res, task)) return; rpc_call_start(task); } @@ -410,7 +410,7 @@ static void nfs_rename_prepare(struct rpc_task *task, void *calldata) struct nfs_server *server = NFS_SERVER(data->old_dir); if (nfs4_setup_sequence(server, &data->args.seq_args, - &data->res.seq_res, 1, task)) + &data->res.seq_res, task)) return; rpc_call_start(task); } |