Commit abb4cf2
Mikulas Patocka
dm: lock limits when reading them
Lock queue limits when reading them, so that we don't read halfway
modified values.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org1 parent f1e2404 commit abb4cf2
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| 434 | + | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
| |||
448 | 449 | | |
449 | 450 | | |
450 | 451 | | |
| 452 | + | |
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
| |||
1734 | 1736 | | |
1735 | 1737 | | |
1736 | 1738 | | |
| 1739 | + | |
1737 | 1740 | | |
1738 | | - | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1739 | 1745 | | |
1740 | 1746 | | |
1741 | 1747 | | |
| |||
0 commit comments