diff options
| author | Lasse Collin <[email protected]> | 2021-10-10 21:31:41 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2021-10-19 15:44:30 +0000 |
| commit | a98a25408b0e9b0264abcc3dabfafd9ff2ea1046 (patch) | |
| tree | 9b67658c6de1ee971ff72b27df6328028f027e6a /fs/btrfs/dev-replace.c | |
| parent | lib/xz: Validate the value before assigning it to an enum variable (diff) | |
| download | kernel-a98a25408b0e9b0264abcc3dabfafd9ff2ea1046.tar.gz kernel-a98a25408b0e9b0264abcc3dabfafd9ff2ea1046.zip | |
lib/xz: Move s->lzma.len = 0 initialization to lzma_reset()
It's a more logical place even if the resetting needs to be done
only once per LZMA2 stream (if lzma_reset() called in the middle
of an LZMA2 stream, .len will already be 0).
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lasse Collin <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
