ext4: fix up rb_root initializations to use RB_ROOT
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Fri, 5 Mar 2010 03:25:21 +0000 (22:25 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 5 Mar 2010 03:25:21 +0000 (22:25 -0500)
commit64e290ec69be39f1887fa0b403c1e417b6b038e7
tree8c7f87a2a4baa357e0cc04ab10b5af0b06273160
parentc437b2733520599a2c6e0dbcdeae611319f84707
ext4: fix up rb_root initializations to use RB_ROOT

ext4 uses rb_node = NULL; to zero rb_root at few places.  Using
RB_ROOT as the initializer is more portable in case the underlying
implementation of rbtrees changes in the future.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Eric Paris <eparis@redhat.com>
fs/ext4/block_validity.c
fs/ext4/dir.c
fs/ext4/mballoc.c