diff options
| author | 2025-09-19 17:46:05 +0100 | |
|---|---|---|
| committer | 2025-09-23 08:49:24 +0200 | |
| commit | 62701f419027711b9c18a1fc1c20714ceeea9e81 (patch) | |
| tree | 557ef2e39619f0d1125aca64f43c45852aa0117a /net/openvswitch/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | btrfs: annotate btrfs_is_testing() as unlikely and make it return bool (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 'net/openvswitch/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
