Commit 641f5219f2ea0dfd1c024c91021ddc83f50bf1ce

Authored by Christoph Hellwig
Committed by Chris Mason
1 parent ce397c0616

Btrfs: sparse lock verification annotations for wait_on_state

Signed-off-by: Chris Mason <chris.mason@oracle.com>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

fs/btrfs/extent_io.c
... ... @@ -577,6 +577,8 @@
577 577  
578 578 static int wait_on_state(struct extent_io_tree *tree,
579 579 struct extent_state *state)
  580 + __releases(tree->lock)
  581 + __acquires(tree->lock)
580 582 {
581 583 DEFINE_WAIT(wait);
582 584 prepare_to_wait(&state->wq, &wait, TASK_UNINTERRUPTIBLE);