Commit 400dd45
committed
Merge tag 'for-6.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
- fix race when reading extent buffer and 'uptodate' status is missed
by one thread (introduced in 6.5)
- do additional validation of devices using major:minor numbers
- zoned mode fixes:
- use zone-aware super block access during scrub
- fix use-after-free during device replace (found by KASAN)
- also delete zones that are 100% unusable to reclaim space
- extent unpinning fixes:
- fix extent map leak after error handling
- print correct range in error message
- error code and message updates
* tag 'for-6.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: fix race in read_extent_buffer_pages()
btrfs: return accurate error code on open failure in open_fs_devices()
btrfs: zoned: don't skip block groups with 100% zone unusable
btrfs: use btrfs_warn() to log message at btrfs_add_extent_mapping()
btrfs: fix message not properly printing interval when adding extent map
btrfs: fix warning messages not printing interval at unpin_extent_range()
btrfs: fix extent map leak in unexpected scenario at unpin_extent_cache()
btrfs: validate device maj:min during open
btrfs: zoned: fix use-after-free in do_zone_finish()
btrfs: zoned: use zone aware sb location for scrubFile tree
6 files changed
+63
-22
lines changed- fs/btrfs
6 files changed
+63
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1559 | 1559 | | |
1560 | 1560 | | |
1561 | 1561 | | |
1562 | | - | |
| 1562 | + | |
| 1563 | + | |
1563 | 1564 | | |
1564 | 1565 | | |
1565 | 1566 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4333 | 4333 | | |
4334 | 4334 | | |
4335 | 4335 | | |
| 4336 | + | |
| 4337 | + | |
| 4338 | + | |
| 4339 | + | |
| 4340 | + | |
| 4341 | + | |
| 4342 | + | |
| 4343 | + | |
| 4344 | + | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
| 4348 | + | |
4336 | 4349 | | |
4337 | 4350 | | |
4338 | 4351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | 343 | | |
345 | 344 | | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
| 632 | + | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2812 | 2812 | | |
2813 | 2813 | | |
2814 | 2814 | | |
2815 | | - | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
2816 | 2826 | | |
2817 | 2827 | | |
2818 | 2828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
695 | 705 | | |
696 | 706 | | |
697 | 707 | | |
| |||
1174 | 1184 | | |
1175 | 1185 | | |
1176 | 1186 | | |
| 1187 | + | |
1177 | 1188 | | |
1178 | 1189 | | |
1179 | 1190 | | |
1180 | | - | |
| 1191 | + | |
1181 | 1192 | | |
1182 | | - | |
1183 | | - | |
| 1193 | + | |
| 1194 | + | |
1184 | 1195 | | |
1185 | 1196 | | |
1186 | | - | |
| 1197 | + | |
1187 | 1198 | | |
1188 | 1199 | | |
1189 | 1200 | | |
1190 | 1201 | | |
| 1202 | + | |
| 1203 | + | |
1191 | 1204 | | |
1192 | | - | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1193 | 1209 | | |
| 1210 | + | |
1194 | 1211 | | |
1195 | 1212 | | |
1196 | 1213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1574 | 1574 | | |
1575 | 1575 | | |
1576 | 1576 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
1581 | | - | |
| 1577 | + | |
1582 | 1578 | | |
1583 | 1579 | | |
1584 | 1580 | | |
| |||
1690 | 1686 | | |
1691 | 1687 | | |
1692 | 1688 | | |
1693 | | - | |
1694 | 1689 | | |
1695 | 1690 | | |
1696 | 1691 | | |
| |||
2175 | 2170 | | |
2176 | 2171 | | |
2177 | 2172 | | |
| 2173 | + | |
2178 | 2174 | | |
2179 | 2175 | | |
2180 | 2176 | | |
| |||
2250 | 2246 | | |
2251 | 2247 | | |
2252 | 2248 | | |
| 2249 | + | |
2253 | 2250 | | |
2254 | 2251 | | |
2255 | 2252 | | |
| |||
2266 | 2263 | | |
2267 | 2264 | | |
2268 | 2265 | | |
2269 | | - | |
| 2266 | + | |
| 2267 | + | |
2270 | 2268 | | |
| 2269 | + | |
2271 | 2270 | | |
2272 | 2271 | | |
2273 | 2272 | | |
2274 | 2273 | | |
2275 | 2274 | | |
| 2275 | + | |
2276 | 2276 | | |
2277 | 2277 | | |
2278 | 2278 | | |
| |||
0 commit comments