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:
cb3806e
)
Btrfs: fix a build warning for an unused label
author
Stefan Behrens
<sbehrens@giantdisaster.de>
Tue, 27 Nov 2012 17:39:50 +0000
(17:39 +0000)
committer
Chris Mason
<chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:13 +0000
(20:46 -0500)
This issue was detected by the "0-DAY kernel build testing".
fs/btrfs/volumes.c: In function 'btrfs_rm_device':
fs/btrfs/volumes.c:1505:1: warning: label 'error_close' defined but not used [-Wunused-label]
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/volumes.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index 32a4948b621cb60c305ca77aaf6e39f088e48e72..0b1b7e22e7eabd06f97a894fae28f82cbb59e886 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-1544,7
+1544,6
@@
int btrfs_rm_device(struct btrfs_root *root, char *device_path)
error_brelse:
brelse(bh);
-error_close:
if (bdev)
blkdev_put(bdev, FMODE_READ | FMODE_EXCL);
out: