Btrfs: sparse lock verification annotations for wait_on_state
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
committed by
Chris Mason
parent
ce397c0616
commit
641f5219f2
@@ -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);
|
||||||
|
Reference in New Issue
Block a user