From: Venkatesh Pallipadi Date: Mon, 15 Mar 2010 04:34:59 +0000 (-0400) Subject: jffs2: fix up rb_root initializations to use RB_ROOT X-Git-Tag: v2.6.34-rc2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc54e2a6d8e93ff83ec398511930b0a73e19151;p=pandora-kernel.git jffs2: fix up rb_root initializations to use RB_ROOT jffs2 uses rb_node = NULL; to zero rb_root. The problem with this is that 17d9ddc72fb8bba0d4f678 ("rbtree: Add support for augmented rbtrees") in the linux-next tree adds a new field to that struct which needs to be NULL as well. This patch uses RB_ROOT as the intializer so all of the relevant fields will be NULL'd. Signed-off-by: Venkatesh Pallipadi Cc: Eric Paris Acked-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed