]> git.openfabrics.org - ~emulex/infiniband.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)
commit7e0926fe5f20b5c88e51cba68512302b10f73d2a
tree0b434c576f76da0902eefbe7bec8e526f8803a8d
parent17589bd96eeb7c2ef2d3baeb05005a24932cd1e9
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