git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
fs
/
jfs
/
jfs_dtree.c
diff --git
a/fs/jfs/jfs_dtree.c
b/fs/jfs/jfs_dtree.c
index
d10b0ca
..
bde0df4
100644
(file)
--- a/
fs/jfs/jfs_dtree.c
+++ b/
fs/jfs/jfs_dtree.c
@@
-1011,9
+1011,6
@@
static int dtSplitUp(tid_t tid,
DT_PUTPAGE(smp);
DT_PUTPAGE(smp);
- if (!DO_INDEX(ip))
- ip->i_size = xlen << sbi->l2bsize;
-
goto freeKeyName;
}
goto freeKeyName;
}
@@
-1070,9
+1067,7
@@
static int dtSplitUp(tid_t tid,
xaddr = addressPXD(pxd) + xlen;
dbFree(ip, xaddr, (s64) n);
}
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);
extendOut:
DT_PUTPAGE(smp);
@@
-1115,9
+1110,6
@@
static int dtSplitUp(tid_t tid,
goto splitOut;
}
goto splitOut;
}
- if (!DO_INDEX(ip))
- ip->i_size += PSIZE;
-
/*
* propagate up the router entry for the leaf page just split
*
/*
* 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;
}
break;
}
- if (!DO_INDEX(ip))
- ip->i_size -= PSIZE;
-
return 0;
}
return 0;
}