diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-11-12 14:13:13 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-05 18:30:51 -0500 |
commit | 104287cd4ebb5484c654551c102c25c94227f717 (patch) | |
tree | c99d67fd6b622a5dbb488068de4b37002256400e /fs/nfs/nfs4proc.c | |
parent | 8fe72bac8de784c4059b41a7dd6bb0151a3ae898 (diff) |
NFS: Remove _nfs_call_sync_session
All it does is pass its arguments through to another function. Let's
cut out the middleman...
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 38a709d78594..7f8b42781338 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -644,16 +644,6 @@ static int nfs4_call_sync_sequence(struct rpc_clnt *clnt, | |||
644 | return ret; | 644 | return ret; |
645 | } | 645 | } |
646 | 646 | ||
647 | static | ||
648 | int _nfs4_call_sync_session(struct rpc_clnt *clnt, | ||
649 | struct nfs_server *server, | ||
650 | struct rpc_message *msg, | ||
651 | struct nfs4_sequence_args *args, | ||
652 | struct nfs4_sequence_res *res) | ||
653 | { | ||
654 | return nfs4_call_sync_sequence(clnt, server, msg, args, res); | ||
655 | } | ||
656 | |||
657 | #else | 647 | #else |
658 | static | 648 | static |
659 | void nfs41_init_sequence(struct nfs4_sequence_args *args, | 649 | void nfs41_init_sequence(struct nfs4_sequence_args *args, |
@@ -6659,7 +6649,7 @@ static const struct nfs4_minor_version_ops nfs_v4_0_minor_ops = { | |||
6659 | #if defined(CONFIG_NFS_V4_1) | 6649 | #if defined(CONFIG_NFS_V4_1) |
6660 | static const struct nfs4_minor_version_ops nfs_v4_1_minor_ops = { | 6650 | static const struct nfs4_minor_version_ops nfs_v4_1_minor_ops = { |
6661 | .minor_version = 1, | 6651 | .minor_version = 1, |
6662 | .call_sync = _nfs4_call_sync_session, | 6652 | .call_sync = nfs4_call_sync_sequence, |
6663 | .match_stateid = nfs41_match_stateid, | 6653 | .match_stateid = nfs41_match_stateid, |
6664 | .find_root_sec = nfs41_find_root_sec, | 6654 | .find_root_sec = nfs41_find_root_sec, |
6665 | .reboot_recovery_ops = &nfs41_reboot_recovery_ops, | 6655 | .reboot_recovery_ops = &nfs41_reboot_recovery_ops, |