]> sourceware.org Git - systemtap.git/commitdiff
Correct access to the mapping field in vfs::__address_inode().
authorJosh Stone <joshua.i.stone@intel.com>
Thu, 10 Jul 2008 18:24:09 +0000 (11:24 -0700)
committerJosh Stone <joshua.i.stone@intel.com>
Thu, 10 Jul 2008 18:24:09 +0000 (11:24 -0700)
tapset/ChangeLog
tapset/vfs.stp

index 670f32551f44ab9508a4847d5a161be520f0fc32..4560494e8561dc7e7edf555a9a51bd61e19bb399 100644 (file)
@@ -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
index 3c38786ab2c29eb5665bba2dd5c22f484ed70718..46bc3d2154c67cf5f7fc0402d72291678fcc06da 100644 (file)
@@ -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 {
This page took 0.029395 seconds and 5 git commands to generate.