diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-04-21 13:17:57 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-21 13:17:57 +0100 |
commit | 21f1d5fc592e145574dede8debe9603334d08fde (patch) | |
tree | 95e58363205a01dc32aa15d18ea8d36bd434d7d2 /fs/jffs2/nodelist.h | |
parent | c569882b2e70a0c4eac99acdb39b493549041ba1 (diff) |
[RBTREE] Update JFFS2 to use rb_parent() accessor macro.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/nodelist.h')
-rw-r--r-- | fs/jffs2/nodelist.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h index 23a67bb3052..131b67b6c35 100644 --- a/fs/jffs2/nodelist.h +++ b/fs/jffs2/nodelist.h @@ -299,7 +299,6 @@ static inline struct jffs2_node_frag *frag_last(struct rb_root *root) return rb_entry(node, struct jffs2_node_frag, rb); } -#define rb_parent(rb) ((rb)->rb_parent) #define frag_next(frag) rb_entry(rb_next(&(frag)->rb), struct jffs2_node_frag, rb) #define frag_prev(frag) rb_entry(rb_prev(&(frag)->rb), struct jffs2_node_frag, rb) #define frag_parent(frag) rb_entry(rb_parent(&(frag)->rb), struct jffs2_node_frag, rb) |