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
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
reiserfs
/
tail_conversion.c
diff --git
a/fs/reiserfs/tail_conversion.c
b/fs/reiserfs/tail_conversion.c
index
0d8a6a6
..
6191909
100644
(file)
--- a/
fs/reiserfs/tail_conversion.c
+++ b/
fs/reiserfs/tail_conversion.c
@@
-34,6
+34,7
@@
int direct2indirect (struct reiserfs_transaction_handle *th, struct inode * inod
that will be inserted in the
tree. */
that will be inserted in the
tree. */
+ BUG_ON (!th->t_trans_id);
REISERFS_SB(sb)->s_direct2indirect ++;
REISERFS_SB(sb)->s_direct2indirect ++;
@@
-184,6
+185,8
@@
int indirect2direct (struct reiserfs_transaction_handle *th,
loff_t pos, pos1; /* position of first byte of the tail */
struct cpu_key key;
loff_t pos, pos1; /* position of first byte of the tail */
struct cpu_key key;
+ BUG_ON (!th->t_trans_id);
+
REISERFS_SB(p_s_sb)->s_indirect2direct ++;
*p_c_mode = M_SKIP_BALANCING;
REISERFS_SB(p_s_sb)->s_indirect2direct ++;
*p_c_mode = M_SKIP_BALANCING;