projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f895a
)
Btrfs: fix bh leak on __btrfs_open_devices path
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Wed, 20 Apr 2011 10:06:40 +0000
(10:06 +0000)
committer
Chris Mason
<chris.mason@oracle.com>
Mon, 23 May 2011 17:24:42 +0000
(13:24 -0400)
'bh' is forgot to release if no error is detected
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index deca1a0326ada0915830a9682bcc8a9fd4a77c22..290100fc47bea48422108775b33a3e7397c6ba76 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-597,6
+597,7
@@
static int __btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
list_add(&device->dev_alloc_list,
&fs_devices->alloc_list);
}
+ brelse(bh);
continue;
error_brelse: