projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d41371
)
btrfs: add missing spin_unlock to a rare exit path
author
David Sterba
<dsterba@suse.cz>
Mon, 25 Apr 2011 23:43:52 +0000
(19:43 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Mon, 25 Apr 2011 23:43:52 +0000
(19:43 -0400)
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index ef6865c17cd621ba9ccd31979eae177668555cef..fe5aec9b39249dc20b3e0e28a53990b9cbc53fe4 100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/disk-io.c
@@
-2903,6
+2903,7
@@
static int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans,
spin_lock(&delayed_refs->lock);
if (delayed_refs->num_entries == 0) {
+ spin_unlock(&delayed_refs->lock);
printk(KERN_INFO "delayed_refs has NO entry\n");
return ret;
}