projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NULL noise: fs/*, mm/*, kernel/*
[deliverable/linux.git]
/
fs
/
reiserfs
/
fix_node.c
diff --git
a/fs/reiserfs/fix_node.c
b/fs/reiserfs/fix_node.c
index 0ee35c6c9b722ef225e666f63713e4d92cf29be6..07d05e0842b72525b32eabac59dda28e7e3cc26a 100644
(file)
--- a/
fs/reiserfs/fix_node.c
+++ b/
fs/reiserfs/fix_node.c
@@
-153,7
+153,7
@@
static void create_virtual_node(struct tree_balance *tb, int h)
if (vn->vn_mode == M_INSERT) {
struct virtual_item *vi = vn->vn_vi + vn->vn_affected_item_num;
if (vn->vn_mode == M_INSERT) {
struct virtual_item *vi = vn->vn_vi + vn->vn_affected_item_num;
- RFALSE(vn->vn_ins_ih ==
0
,
+ RFALSE(vn->vn_ins_ih ==
NULL
,
"vs-8040: item header of inserted item is not specified");
vi->vi_item_len = tb->insert_size[0];
vi->vi_ih = vn->vn_ins_ih;
"vs-8040: item header of inserted item is not specified");
vi->vi_item_len = tb->insert_size[0];
vi->vi_ih = vn->vn_ins_ih;
@@
-857,7
+857,8
@@
static int get_lfree(struct tree_balance *tb, int h)
struct buffer_head *l, *f;
int order;
struct buffer_head *l, *f;
int order;
- if ((f = PATH_H_PPARENT(tb->tb_path, h)) == 0 || (l = tb->FL[h]) == 0)
+ if ((f = PATH_H_PPARENT(tb->tb_path, h)) == NULL ||
+ (l = tb->FL[h]) == NULL)
return 0;
if (f == l)
return 0;
if (f == l)
@@
-878,7
+879,8
@@
static int get_rfree(struct tree_balance *tb, int h)
struct buffer_head *r, *f;
int order;
struct buffer_head *r, *f;
int order;
- if ((f = PATH_H_PPARENT(tb->tb_path, h)) == 0 || (r = tb->FR[h]) == 0)
+ if ((f = PATH_H_PPARENT(tb->tb_path, h)) == NULL ||
+ (r = tb->FR[h]) == NULL)
return 0;
if (f == r)
return 0;
if (f == r)
This page took
0.026493 seconds
and
5
git commands to generate.