]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e1676de9aed3fc80fd4791c29945647a539c676
treec0de1e193aca4b93a6a649d46d7c57c40147a6fc
parent4acdc3440d6f999b813e20f32aa5cd6e743b601d
btrfs: prevent RCU warning when dereferencing radix tree slot

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