summaryrefslogtreecommitdiffstats
path: root/tapset/nfsderrno.stp
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-03-03 14:40:04 -0500
committerSteve Dickson <steved@redhat.com>2010-03-16 11:11:23 -0400
commit8ccda1a55d5d0dce7b7336284fa40d95f195178b (patch)
tree7813275ab45b94a9a7378f0c3144cbef46d5dba4 /tapset/nfsderrno.stp
parent7efb5a844990aa530c22cbb27bf2de9eec5ee133 (diff)
downloadsystemtap-steved-8ccda1a55d5d0dce7b7336284fa40d95f195178b.tar.gz
systemtap-steved-8ccda1a55d5d0dce7b7336284fa40d95f195178b.tar.xz
systemtap-steved-8ccda1a55d5d0dce7b7336284fa40d95f195178b.zip
Revert "Backport recent changes to RHEL5 (U5)"
This commit causes the 2.6.33 probes to break This reverts commit 3ca4e3f2f5a7a615d0aed00a242f4e30864deaa8.
Diffstat (limited to 'tapset/nfsderrno.stp')
-rw-r--r--tapset/nfsderrno.stp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tapset/nfsderrno.stp b/tapset/nfsderrno.stp
index 5472892b..6ac4cacb 100644
--- a/tapset/nfsderrno.stp
+++ b/tapset/nfsderrno.stp
@@ -73,7 +73,6 @@
#define nfserr_cb_path_down cpu_to_be32(NFSERR_CB_PATH_DOWN)
#define nfserr_locked cpu_to_be32(NFSERR_LOCKED)
#define nfserr_wrongsec cpu_to_be32(NFSERR_WRONGSEC)
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
#define nfserr_badiomode cpu_to_be32(NFS4ERR_BADIOMODE)
#define nfserr_badlayout cpu_to_be32(NFS4ERR_BADLAYOUT)
#define nfserr_bad_session_digest cpu_to_be32(NFS4ERR_BAD_SESSION_DIGEST)
@@ -112,7 +111,6 @@
#define nfserr_reject_deleg cpu_to_be32(NFS4ERR_REJECT_DELEG)
#define nfserr_returnconflict cpu_to_be32(NFS4ERR_RETURNCONFLICT)
#define nfserr_deleg_revoked cpu_to_be32(NFS4ERR_DELEG_REVOKED)
-#endif
%}
function nfsderror:string(err:long)
@@ -184,7 +182,6 @@ function nfsderror:string(err:long)
{nfserr_cb_path_down, "NFSERR_CB_PATH_DOWN"},
{nfserr_locked, "NFSERR_LOCKED"},
{nfserr_wrongsec, "NFSERR_WRONGSEC"},
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
{nfserr_badiomode, "NFS4ERR_BADIOMODE"},
{nfserr_badlayout, "NFS4ERR_BADLAYOUT"},
{nfserr_bad_session_digest, "NFS4ERR_BAD_SESSION_DIGEST"},
@@ -223,7 +220,6 @@ function nfsderror:string(err:long)
{nfserr_reject_deleg, "NFS4ERR_REJECT_DELEG"},
{nfserr_returnconflict, "NFS4ERR_RETURNCONFLICT"},
{nfserr_deleg_revoked, "NFS4ERR_DELEG_REVOKED"},
-#endif
};
int i;
int tabsz = (sizeof(nfs_errtbl)/sizeof(nfs_errtbl[0]));