diff options
author | Steve Dickson <steved@redhat.com> | 2010-03-10 09:34:51 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-03-10 09:34:51 -0500 |
commit | 0f61930c05daf5fcaf6a68032476fb73a24a619a (patch) | |
tree | 377573abff9a14a04f4d199a57170a48b63bba4a /tapset | |
parent | 57d0762df189fb76c380289c0e3ce1450579f0b9 (diff) | |
download | systemtap-0f61930c05daf5fcaf6a68032476fb73a24a619a.tar.gz systemtap-0f61930c05daf5fcaf6a68032476fb73a24a619a.tar.xz systemtap-0f61930c05daf5fcaf6a68032476fb73a24a619a.zip |
Back port some routine to RHEL5.5
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/nfsd_fh.stp | 5 | ||||
-rw-r--r-- | tapset/svc_export.stp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tapset/nfsd_fh.stp b/tapset/nfsd_fh.stp index 1935e98..ef1d7a3 100644 --- a/tapset/nfsd_fh.stp +++ b/tapset/nfsd_fh.stp @@ -1,9 +1,12 @@ %{ #include <linux/fs.h> -#include <linux/nfsd/export.h> +#include <linux/sunrpc/svc.h> #include <linux/nfsd/nfsfh.h> +#include <linux/nfsd/export.h> #include <linux/nfsd/state.h> +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,24) #include <linux/nfsd/xdr4.h> +#endif %} diff --git a/tapset/svc_export.stp b/tapset/svc_export.stp index d390252..6ab1a04 100644 --- a/tapset/svc_export.stp +++ b/tapset/svc_export.stp @@ -2,6 +2,10 @@ #include <linux/fs.h> #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18) #include <linux/path.h> +#else +#include <linux/sunrpc/svc.h> +#include <linux/nfsd/nfsfh.h> +#include <linux/nfsd/export.h> #endif %} |