Skip to contentSkip to conversation

btrfs: sparse lock verification annotations for wait_on_state

PATCH New Christoph Hellwig 1 participant 1 message Nov 20, 2008 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs: sparse lock verification annotations for wait_on_state

fs/btrfs/extent_io.c +2 -0
Index: btrfs-unstable/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);