aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-12-02 06:36:10 -0500
committerChris Mason <chris.mason@oracle.com>2008-12-02 06:36:10 -0500
commit641f5219f2ea0dfd1c024c91021ddc83f50bf1ce (patch)
tree0989c0b847617e791aaef8e50e48723ef8fa17ca /fs/btrfs
parentce397c0616de9bfb678569f1dfa655838a711594 (diff)
Btrfs: sparse lock verification annotations for wait_on_state
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/extent_io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 87dba8517935..d79ccdbfdd95 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -577,6 +577,8 @@ EXPORT_SYMBOL(clear_extent_bit);
577 577
578static int wait_on_state(struct extent_io_tree *tree, 578static int wait_on_state(struct extent_io_tree *tree,
579 struct extent_state *state) 579 struct extent_state *state)
580 __releases(tree->lock)
581 __acquires(tree->lock)
580{ 582{
581 DEFINE_WAIT(wait); 583 DEFINE_WAIT(wait);
582 prepare_to_wait(&state->wq, &wait, TASK_UNINTERRUPTIBLE); 584 prepare_to_wait(&state->wq, &wait, TASK_UNINTERRUPTIBLE);