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
/
objectid.c
diff --git
a/fs/reiserfs/objectid.c
b/fs/reiserfs/objectid.c
index
8db22b4
..
0785c43
100644
(file)
--- a/
fs/reiserfs/objectid.c
+++ b/
fs/reiserfs/objectid.c
@@
-55,6
+55,7
@@
__u32 reiserfs_get_unused_objectid (struct reiserfs_transaction_handle *th)
__u32 * map = objectid_map (s, rs);
__u32 unused_objectid;
__u32 * map = objectid_map (s, rs);
__u32 unused_objectid;
+ BUG_ON (!th->t_trans_id);
check_objectid_map (s, map);
check_objectid_map (s, map);
@@
-99,6
+100,7
@@
void reiserfs_release_objectid (struct reiserfs_transaction_handle *th,
__u32 * map = objectid_map (s, rs);
int i = 0;
__u32 * map = objectid_map (s, rs);
int i = 0;
+ BUG_ON (!th->t_trans_id);
//return;
check_objectid_map (s, map);
//return;
check_objectid_map (s, map);