jfs: define xtree root and page independently
[linux-block.git] / fs / jfs / jfs_xtree.c
index 2d304cee884c6ff2cad43a06433abe425876f97f..5ee618d17e77303226357939f3889b908f3c962a 100644 (file)
@@ -1213,7 +1213,7 @@ xtSplitRoot(tid_t tid,
        struct xtlock *xtlck;
        int rc;
 
-       sp = &JFS_IP(ip)->i_xtroot;
+       sp = (xtpage_t *) &JFS_IP(ip)->i_xtroot;
 
        INCREMENT(xtStat.split);
 
@@ -2098,7 +2098,7 @@ int xtAppend(tid_t tid,           /* transaction id */
  */
 void xtInitRoot(tid_t tid, struct inode *ip)
 {
-       xtpage_t *p;
+       xtroot_t *p;
 
        /*
         * acquire a transaction lock on the root