diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-09-19 17:46:05 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-09-23 08:49:24 +0200 |
commit | 62701f419027711b9c18a1fc1c20714ceeea9e81 (patch) | |
tree | 557ef2e39619f0d1125aca64f43c45852aa0117a /scripts/lib/kdoc/kdoc_parser.py | |
parent | db524fd9802f7ec3281a7f1fdae66c67c9525ba3 (diff) |
btrfs: remove pointless key offset setup in create_pending_snapshot()
There's no point in setting the key's offset to (u64)-1 since we never
use it before setting it to the current transaction's ID. So remove the
assignment of (u64)-1 to the key's offset and move the remainder of the
key initialization close to where it's used.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions