Fixup rb_root initializations to use RB_ROOT
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ext4: Fixup rb_root initializations to use RB_ROOTfs/ fs/ fs/ | +4 | 1 reply | |
| 2/3 | ext3: Fixup rb_root initializations to use RB_ROOTfs/ | +1 | 0 replies | |
| 3/3 | jffs2: Fixup rb_root initializations to use RB_ROOTfs/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/3] Fixup rb_root initializations to use RB_ROOT
Eric Paris found a problem with rb_root initializations and sent a patch to fix it here:
http://lkml.indiana.edu/hypermail/linux/kernel/1002.2/02946.html
btrfs: use RB_ROOT to intialize rb_trees instead of setting rb_node to NULL
Based on that, a simple grep for "rb_node = NULL" showed few more similar usages in ext3, ext4 and jffs2. Here are the patches to fix those root.rb_node = NULL
usages to
root = RB_ROOT
Compile tested.
Signed-off-by Venkatesh Pallipadi <[email protected]>