Commit 9257336
ext4: treat end of range as exclusive in ext4_zero_range()
The call to filemap_write_and_wait_range() assumes the range passed to be
inclusive, so fix the call to make sure we follow that.
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/e503107a7c73a2b68dec645c5ad798c437717c45.1698856309.git.ojaswin@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent e89fdcc commit 9257336
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4523 | 4523 | | |
4524 | 4524 | | |
4525 | 4525 | | |
4526 | | - | |
| 4526 | + | |
| 4527 | + | |
4527 | 4528 | | |
4528 | 4529 | | |
4529 | 4530 | | |
| |||
4609 | 4610 | | |
4610 | 4611 | | |
4611 | 4612 | | |
4612 | | - | |
| 4613 | + | |
| 4614 | + | |
4613 | 4615 | | |
4614 | 4616 | | |
4615 | 4617 | | |
| |||
0 commit comments