Commit 4b0c7a1
committed
Merge tag 'for-6.4-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fix from David Sterba:
"One more regression fix for an assertion failure that uncovered a
nasty problem with stripe calculations. This is caused by a u32
overflow when there are enough devices. The fstests require 6 so this
hasn't been caught, I was able to hit it with 8.
The fix is minimal and only adds u64 casts, we'll clean that up later.
I did various additional tests to be sure"
* tag 'for-6.4-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: fix u32 overflows when left shifting stripe_nr1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5975 | 5975 | | |
5976 | 5976 | | |
5977 | 5977 | | |
5978 | | - | |
| 5978 | + | |
5979 | 5979 | | |
5980 | 5980 | | |
5981 | 5981 | | |
5982 | 5982 | | |
5983 | | - | |
| 5983 | + | |
5984 | 5984 | | |
5985 | 5985 | | |
5986 | 5986 | | |
| |||
6023 | 6023 | | |
6024 | 6024 | | |
6025 | 6025 | | |
6026 | | - | |
| 6026 | + | |
6027 | 6027 | | |
6028 | 6028 | | |
6029 | 6029 | | |
| |||
6196 | 6196 | | |
6197 | 6197 | | |
6198 | 6198 | | |
6199 | | - | |
| 6199 | + | |
6200 | 6200 | | |
6201 | 6201 | | |
| 6202 | + | |
| 6203 | + | |
6202 | 6204 | | |
6203 | 6205 | | |
6204 | 6206 | | |
| |||
6221 | 6223 | | |
6222 | 6224 | | |
6223 | 6225 | | |
6224 | | - | |
| 6226 | + | |
6225 | 6227 | | |
6226 | 6228 | | |
6227 | 6229 | | |
| |||
0 commit comments