diff options
author | 2025-02-12 21:22:07 +0100 | |
---|---|---|
committer | 2025-03-18 20:35:42 +0100 | |
commit | dba6ae0b439f128b358a040974f69793722f8801 (patch) | |
tree | 0364623cbe4990782f97ed6aa63da5b367c5b763 /fs/btrfs/qgroup.c | |
parent | btrfs: zstd: remove local variable for storing page offsets (diff) | |
download | wireguard-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.c | 2 |
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); |