]> git.baikalelectronics.ru Git - kernel.git/commit
ext3 uses rb_node = NULL; to zero rb_root.
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 25 May 2010 14:03:04 +0000 (16:03 +0200)
committerJan Kara <jack@suse.cz>
Thu, 27 May 2010 15:39:36 +0000 (17:39 +0200)
commitbece6d57c4e56b5c95ef7ea9d061a4cc1517263a
tree06ce2ca6599f14707bd873f5f2df4ab0455c0e10
parentce2d95ad732ad95720f2e8cfa157847322ed7aff
ext3 uses rb_node = NULL; to zero rb_root.

The problem with this is that 44f43b0063dafd294c0b35 ("rbtree: Add support
for augmented rbtrees") in the linux-next tree adds a new field to that
struct which needs to be NULLas well.  This patch uses RB_ROOT as the
intializer so all of the relevant fields will be NULL'd.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/dir.c