diff options
author | Josh Stone <joshua.i.stone@intel.com> | 2008-07-10 11:24:09 -0700 |
---|---|---|
committer | Josh Stone <joshua.i.stone@intel.com> | 2008-07-10 11:24:09 -0700 |
commit | d2d885a0f315de0bb2229e83ea282f0c036a83b6 (patch) | |
tree | 8d83a3f9ab3590d39cb94c527caa20b91c3b907d /tapset/vfs.stp | |
parent | 91eb3abe54bc1336ef59f5b28eb93fd30a44c633 (diff) | |
download | systemtap-steved-d2d885a0f315de0bb2229e83ea282f0c036a83b6.tar.gz systemtap-steved-d2d885a0f315de0bb2229e83ea282f0c036a83b6.tar.xz systemtap-steved-d2d885a0f315de0bb2229e83ea282f0c036a83b6.zip |
Correct access to the mapping field in vfs::__address_inode().
Diffstat (limited to 'tapset/vfs.stp')
-rw-r--r-- | tapset/vfs.stp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tapset/vfs.stp b/tapset/vfs.stp index 3c38786a..46bc3d21 100644 --- a/tapset/vfs.stp +++ b/tapset/vfs.stp @@ -59,8 +59,7 @@ function __page_ino:long (page:long) %{ /* pure */ function __address_inode:long (page:long) %{ /* pure */ struct page *page = (struct page *)(long)THIS->page; - struct address_space *mapping = - (struct address_space *)(long)THIS; + struct address_space *mapping = kread(&(page->mapping)); if (mapping == NULL) { THIS->__retvalue = -1; } else { |