aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-02-12 21:22:07 +0100
committerDavid Sterba <dsterba@suse.com>2025-03-18 20:35:42 +0100
commitdba6ae0b439f128b358a040974f69793722f8801 (patch)
tree0364623cbe4990782f97ed6aa63da5b367c5b763 /fs/btrfs/qgroup.c
parentbtrfs: zstd: remove local variable for storing page offsets (diff)
downloadwireguard-linux-dba6ae0b439f128b358a040974f69793722f8801.tar.xz
wireguard-linux-dba6ae0b439f128b358a040974f69793722f8801.zip
btrfs: unify ordering of btrfs_key initializations
The btrfs_key is defined as objectid/type/offset and the keys are also printed like that. For better readability, update all key initializations to match this order. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r--fs/btrfs/qgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index f9d3766c809b..d6fa36674270 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -956,8 +956,8 @@ static int btrfs_clean_quota_tree(struct btrfs_trans_handle *trans,
return -ENOMEM;
key.objectid = 0;
- key.offset = 0;
key.type = 0;
+ key.offset = 0;
while (1) {
ret = btrfs_search_slot(trans, root, &key, path, -1, 1);