diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2012-11-27 17:39:50 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-12-16 20:46:13 -0500 |
commit | f9c83748deb94aba89b5c1085f887ddcdab223ef (patch) | |
tree | cb133d1c4bc9831aeb059f9994f4336844e475d3 /fs/btrfs/volumes.c | |
parent | cb3806ec88a7e1e9d1fbde34cbc0bf153b7e7c3f (diff) | |
download | blackbird-op-linux-f9c83748deb94aba89b5c1085f887ddcdab223ef.tar.gz blackbird-op-linux-f9c83748deb94aba89b5c1085f887ddcdab223ef.zip |
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/volumes.c')
-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) error_brelse: brelse(bh); -error_close: if (bdev) blkdev_put(bdev, FMODE_READ | FMODE_EXCL); out: |