diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-23 02:28:44 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-06 00:30:48 +0100 |
commit | d9afbd1b0889e7da6742e9c67ccc7becc4161f65 (patch) | |
tree | 7ca0f67463f1b438260713d4f028dabf98e25a03 /fs/nfs/nfs4_fs.h | |
parent | NFSv4.1: Use nfs41_setup_sequence where appropriate (diff) | |
download | linux-d9afbd1b0889e7da6742e9c67ccc7becc4161f65.tar.xz linux-d9afbd1b0889e7da6742e9c67ccc7becc4161f65.zip |
NFSv4.1: Simplify the sequence setup
Nobody calls nfs4_setup_sequence or nfs41_setup_sequence without
also calling rpc_call_start() on success. This commit therefore
folds the rpc_call_start call into nfs41_setup_sequence().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 8fe155ba16d1..8022adec34cd 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -273,6 +273,7 @@ static inline int nfs4_setup_sequence(const struct nfs_server *server, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, struct rpc_task *task) { + rpc_call_start(task); return 0; } |