diff mbox

btrfs: qgroup: remove unused label 'retry'

Message ID 20171222005508.11975-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Colin King Dec. 22, 2017, 12:55 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Label 'retry' is not used, remove it. Cleans up a clang build
warning:

warning: label ‘retry’ defined but not used [-Wunused-label]

Fixes: b283738ab0ad ("Revert "btrfs: qgroups: Retry after commit on getting EDQUOT"")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 fs/btrfs/qgroup.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Sterba Jan. 2, 2018, 3:52 p.m. UTC | #1
On Fri, Dec 22, 2017 at 12:55:08AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Label 'retry' is not used, remove it. Cleans up a clang build
> warning:
> 
> warning: label ‘retry’ defined but not used [-Wunused-label]
> 
> Fixes: b283738ab0ad ("Revert "btrfs: qgroups: Retry after commit on getting EDQUOT"")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks, we already have another patch to fix that in for-next.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index de3b96f1005b..2b89848e767d 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -2429,7 +2429,6 @@  static int qgroup_reserve(struct btrfs_root *root, u64 num_bytes, bool enforce,
 	    capable(CAP_SYS_RESOURCE))
 		enforce = false;
 
-retry:
 	spin_lock(&fs_info->qgroup_lock);
 	quota_root = fs_info->quota_root;
 	if (!quota_root)