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.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
fs
/
reiserfs
/
ibalance.c
diff --git
a/fs/reiserfs/ibalance.c
b/fs/reiserfs/ibalance.c
index
3df6dda
..
5b9dee2
100644
(file)
--- a/
fs/reiserfs/ibalance.c
+++ b/
fs/reiserfs/ibalance.c
@@
-922,7
+922,7
@@
int balance_internal (struct tree_balance * tb, /* tree_balance structure */
if ( tb->blknum[h] != 1 )
if ( tb->blknum[h] != 1 )
- reiserfs_panic(
0
, "balance_internal: One new node required for creating the new root");
+ reiserfs_panic(
NULL
, "balance_internal: One new node required for creating the new root");
/* S[h] = empty buffer from the list FEB. */
tbSh = get_FEB (tb);
blkh = B_BLK_HEAD(tbSh);
/* S[h] = empty buffer from the list FEB. */
tbSh = get_FEB (tb);
blkh = B_BLK_HEAD(tbSh);
@@
-964,7
+964,7
@@
int balance_internal (struct tree_balance * tb, /* tree_balance structure */
dest_bi.tb = tb;
dest_bi.bi_bh = S_new;
dest_bi.tb = tb;
dest_bi.bi_bh = S_new;
- dest_bi.bi_parent =
0
;
+ dest_bi.bi_parent =
NULL
;
dest_bi.bi_position = 0;
src_bi.tb = tb;
src_bi.bi_bh = tbSh;
dest_bi.bi_position = 0;
src_bi.tb = tb;
src_bi.bi_bh = tbSh;