linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / jfs / jfs_dtree.c
index d10b0ca..bde0df4 100644 (file)
@@ -1011,9 +1011,6 @@ static int dtSplitUp(tid_t tid,
 
                DT_PUTPAGE(smp);
 
-               if (!DO_INDEX(ip))
-                       ip->i_size = xlen << sbi->l2bsize;
-
                goto freeKeyName;
        }
 
@@ -1070,9 +1067,7 @@ static int dtSplitUp(tid_t tid,
                                xaddr = addressPXD(pxd) + xlen;
                                dbFree(ip, xaddr, (s64) n);
                        }
-               } else if (!DO_INDEX(ip))
-                       ip->i_size = lengthPXD(pxd) << sbi->l2bsize;
-
+               }
 
              extendOut:
                DT_PUTPAGE(smp);
@@ -1115,9 +1110,6 @@ static int dtSplitUp(tid_t tid,
                goto splitOut;
        }
 
-       if (!DO_INDEX(ip))
-               ip->i_size += PSIZE;
-
        /*
         * propagate up the router entry for the leaf page just split
         *
@@ -2463,9 +2455,6 @@ static int dtDeleteUp(tid_t tid, struct inode *ip,
                break;
        }
 
-       if (!DO_INDEX(ip))
-               ip->i_size -= PSIZE;
-
        return 0;
 }