diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-04-21 12:17:57 (GMT) |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-21 12:17:57 (GMT) |
commit | 21f1d5fc592e145574dede8debe9603334d08fde (patch) | |
tree | 95e58363205a01dc32aa15d18ea8d36bd434d7d2 /fs/jffs2/nodelist.h | |
parent | c569882b2e70a0c4eac99acdb39b493549041ba1 (diff) | |
download | linux-fsl-qoriq-21f1d5fc592e145574dede8debe9603334d08fde.tar.xz |
[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 23a67bb..131b67b 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) |