NFS: Make trace_nfs4_setup_sequence() available to NFS v4.0
This tracepoint displays information about the slot that was chosen for
the RPC, in addition to session information. This could be useful
information for debugging, and we can set the session id hash to 0 to
indicate that there is no session.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index f6a362f..ae03f97 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -924,11 +924,9 @@
res->sr_timestamp = jiffies;
res->sr_status_flags = 0;
res->sr_status = 1;
-#ifdef CONFIG_NFS_V4_1
- trace_nfs4_setup_sequence(session, args);
-#endif /* CONFIG_NFS_V4_1 */
}
+ trace_nfs4_setup_sequence(session, args);
out_start:
rpc_call_start(task);
return 0;