提交 641f5219 编写于 作者: C Christoph Hellwig 提交者: Chris Mason

Btrfs: sparse lock verification annotations for wait_on_state

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 ce397c06
......@@ -577,6 +577,8 @@ EXPORT_SYMBOL(clear_extent_bit);
static int wait_on_state(struct extent_io_tree *tree,
struct extent_state *state)
__releases(tree->lock)
__acquires(tree->lock)
{
DEFINE_WAIT(wait);
prepare_to_wait(&state->wq, &wait, TASK_UNINTERRUPTIBLE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册