diff options
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/vfs.stp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 670f3255..4560494e 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,7 @@ +2008-07-10 Josh Stone <joshua.i.stone@intel.com> + + * vfs.stp (__address_inode): Correct access to the mapping field. + 2008-07-09 Mark Wielaard <mwielaard@redhat.com> PR 6732 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 { |