diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-09-19 19:46:05 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-09-23 09:49:24 +0300 |
commit | 62701f419027711b9c18a1fc1c20714ceeea9e81 (patch) | |
tree | 557ef2e39619f0d1125aca64f43c45852aa0117a /tools/docs/parse-headers.py | |
parent | db524fd9802f7ec3281a7f1fdae66c67c9525ba3 (diff) | |
download | linux-62701f419027711b9c18a1fc1c20714ceeea9e81.tar.xz |
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 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions