Commit 641f5219 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Chris Mason

Btrfs: sparse lock verification annotations for wait_on_state

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent ce397c06
...@@ -577,6 +577,8 @@ EXPORT_SYMBOL(clear_extent_bit); ...@@ -577,6 +577,8 @@ EXPORT_SYMBOL(clear_extent_bit);
static int wait_on_state(struct extent_io_tree *tree, static int wait_on_state(struct extent_io_tree *tree,
struct extent_state *state) struct extent_state *state)
__releases(tree->lock)
__acquires(tree->lock)
{ {
DEFINE_WAIT(wait); DEFINE_WAIT(wait);
prepare_to_wait(&state->wq, &wait, TASK_UNINTERRUPTIBLE); prepare_to_wait(&state->wq, &wait, TASK_UNINTERRUPTIBLE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment