diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2012-11-27 12:39:50 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-12-16 20:46:13 -0500 |
commit | f9c83748deb94aba89b5c1085f887ddcdab223ef (patch) | |
tree | cb133d1c4bc9831aeb059f9994f4336844e475d3 /fs/btrfs | |
parent | cb3806ec88a7e1e9d1fbde34cbc0bf153b7e7c3f (diff) |
Btrfs: fix a build warning for an unused label
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/volumes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 32a4948b621c..0b1b7e22e7ea 100644 --- 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) | |||
1544 | 1544 | ||
1545 | error_brelse: | 1545 | error_brelse: |
1546 | brelse(bh); | 1546 | brelse(bh); |
1547 | error_close: | ||
1548 | if (bdev) | 1547 | if (bdev) |
1549 | blkdev_put(bdev, FMODE_READ | FMODE_EXCL); | 1548 | blkdev_put(bdev, FMODE_READ | FMODE_EXCL); |
1550 | out: | 1549 | out: |