diff options
-rw-r--r-- | tapset/ChangeLog | 6 | ||||
-rw-r--r-- | tapset/rpc.stp | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index f242c310..1fcf3790 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,9 @@ +2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com> + + From Lai Jiangshan <laijs@cn.fujitsu.com> + * rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT(). + (tasks_from_clnt): Ditto. + 2007-10-17 Martin Hunt <hunt@redhat.com> PR5000 * endian.stp (set_endian): Remove. diff --git a/tapset/rpc.stp b/tapset/rpc.stp index eecdb796..38f53401 100644 --- a/tapset/rpc.stp +++ b/tapset/rpc.stp @@ -949,6 +949,7 @@ function clones_from_clnt:long(clnt:long) struct rpc_clnt *clnt = (struct rpc_clnt *)(long)THIS->clnt; #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,22) THIS->__retvalue = kread(&(clnt->cl_count)); + CATCH_DEREF_FAULT(); #else THIS->__retvalue = -1; #endif @@ -959,6 +960,7 @@ function tasks_from_clnt:long(clnt:long) struct rpc_clnt *clnt = (struct rpc_clnt *)(long)THIS->clnt; #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,22) THIS->__retvalue = kread(&(clnt->cl_users)); + CATCH_DEREF_FAULT(); #else THIS->__retvalue = -1; #endif |