]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix use of radix_tree for name_cache in send/receive
authorAlexander Block <ablock84@googlemail.com>
Sat, 28 Jul 2012 12:20:58 +0000 (14:20 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:52 +0000 (15:18 -0400)
commit4248d31286f72a297eadd385d96f7f340d103fef
tree0b434c576f76da0902eefbe7bec8e526f8803a8d
parentef0d9d1ac2e0450aa9699203a7d2865628dc85e5
Btrfs: fix use of radix_tree for name_cache in send/receive

We can't easily use the index of the radix tree for inums as the
radix tree uses 32bit indexes on 32bit kernels. For 32bit kernels,
we now use the lower 32bit of the inum as index and an additional
list to store multiple entries per radix tree entry.

Reported-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Alexander Block <ablock84@googlemail.com>
fs/btrfs/send.c