]> git.baikalelectronics.ru Git - kernel.git/commit
dm persistent data: rename node to btree_node
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 21 Dec 2012 20:23:30 +0000 (20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:30 +0000 (20:23 +0000)
commitff81736834730fb2d8d523750c1079d354a589f5
treef6ca310fe3955cb2a2925391e7fd4c6191fbd373
parent95db02af6e5d6140cba81d28ac65bf83005e493b
dm persistent data: rename node to btree_node

This patch fixes a compilation failure on sparc32 by renaming struct node.

struct node is already defined in include/linux/node.h. On sparc32, it
happens to be included through other dependencies and persistent-data
doesn't compile because of conflicting declarations.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/persistent-data/dm-btree-internal.h
drivers/md/persistent-data/dm-btree-remove.c
drivers/md/persistent-data/dm-btree-spine.c
drivers/md/persistent-data/dm-btree.c