Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH] btrfs: sparse lock verification annotations for wait_on_state
@ 2008-11-20 18:39 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2008-11-20 18:39 UTC (permalink / raw)
  To: linux-btrfs

Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: btrfs-unstable/fs/btrfs/extent_io.c
===================================================================
--- btrfs-unstable.orig/fs/btrfs/extent_io.c	2008-11-20 19:37:10.000000000 +0100
+++ btrfs-unstable/fs/btrfs/extent_io.c	2008-11-20 19:38:44.000000000 +0100
@@ -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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-20 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 18:39 [PATCH] btrfs: sparse lock verification annotations for wait_on_state Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox