]> 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)
commit2fef3447272861df17db33424674b3cc7d3611c3
treec0de1e193aca4b93a6a649d46d7c57c40147a6fc
parente7fe8699e294bc7850fb9244421d37109fd51b5a
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