Skip to contentSkip to conversation

btrfs: qgroup: remove unused label 'retry'

PATCH In review Colin King 2 participants 2 messages Dec 22, 2017 – Jan 2, 2018

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 btrfs: qgroup: remove unused label 'retry'

From: Colin Ian King <[email protected]>

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"")
---
 fs/btrfs/qgroup.c | 1 -
 1 file changed, 1 deletion(-)
fs/btrfs/qgroup.c +0 -1
index de3b96f1005b..2b89848e767d 100644
@@ -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)
Signature · 1 line
2.14.1
#1 lore raw
Quoted 9 lines · Colin King

From: Colin Ian King <[email protected]>

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"")

Thanks, we already have another patch to fix that in for-next.