summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-23 02:28:44 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-06 00:30:48 +0100
commitd9afbd1b0889e7da6742e9c67ccc7becc4161f65 (patch)
tree7ca0f67463f1b438260713d4f028dabf98e25a03 /fs/nfs/nfs4_fs.h
parentNFSv4.1: Use nfs41_setup_sequence where appropriate (diff)
downloadlinux-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.h1
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;
}