btrfs: prevent RCU warning when dereferencing radix tree slot
authorSasha Levin <sasha.levin@oracle.com>
Wed, 11 Jun 2014 16:00:25 +0000 (12:00 -0400)
committerChris Mason <clm@fb.com>
Fri, 13 Jun 2014 16:52:22 +0000 (09:52 -0700)
Mark the dereference as protected by lock. Not doing so triggers
an RCU warning since the radix tree assumed that RCU is in use.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/tests/btrfs-tests.c

Simple merge