Repository navigation
Commit 69dc953
ext4: fix incorect journal credits reservation in ext4_zero_range
Currently we reserve only 4 blocks but in worst case scenario
ext4_zero_partial_blocks() may want to zeroout and convert two
non adjacent blocks.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org1 parent 4631dbf commit 69dc953
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4731 | 4731 | | |
4732 | 4732 | | |
4733 | 4733 | | |
| 4734 | + | |
4734 | 4735 | | |
4735 | 4736 | | |
4736 | 4737 | | |
| |||
4830 | 4831 | | |
4831 | 4832 | | |
4832 | 4833 | | |
4833 | | - | |
4834 | | - | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
| 4838 | + | |
| 4839 | + | |
| 4840 | + | |
| 4841 | + | |
4835 | 4842 | | |
4836 | 4843 | | |
4837 | 4844 | | |
| |||
0 commit comments