diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2010-03-15 05:34:59 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-18 02:43:47 +0100 |
commit | bcc54e2a6d8e93ff83ec398511930b0a73e19151 (patch) | |
tree | 7a509499223f1698cafb30b869c4261ab20b2f8c /security/security.c | |
parent | memcg: avoid use cmpxchg in swap cgroup maintainance (diff) | |
download | linux-bcc54e2a6d8e93ff83ec398511930b0a73e19151.tar.xz linux-bcc54e2a6d8e93ff83ec398511930b0a73e19151.zip |
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 <venkatesh.pallipadi@intel.com>
Cc: Eric Paris <eparis@redhat.com>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions