projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce397c0
)
Btrfs: sparse lock verification annotations for wait_on_state
author
Christoph Hellwig
<hch@lst.de>
Tue, 2 Dec 2008 11:36:10 +0000
(06:36 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Tue, 2 Dec 2008 11:36:10 +0000
(06:36 -0500)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index 87dba8517935d2516ee0745b4215a1bd16a32e5c..d79ccdbfdd954b53fc992481e672ef05f6818504 100644
(file)
--- 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);