From: Christoph Hellwig Date: Tue, 2 Dec 2008 11:36:10 +0000 (-0500) Subject: Btrfs: sparse lock verification annotations for wait_on_state X-Git-Tag: v2.6.29-rc1~27^2~9^2~46 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=641f5219f2ea0dfd1c024c91021ddc83f50bf1ce;p=linux-2.6-omap-h63xx.git Btrfs: sparse lock verification annotations for wait_on_state Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 87dba851793..d79ccdbfdd9 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -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);