diff options
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 { |