Repository navigation
Commit 7eb4969
committed
ext3: Truncate allocated blocks if direct IO write fails to update i_size
We have to truncate blocks allocated to file during direct IO when we
fail to update i_size properly.
Signed-off-by: Jan Kara <jack@suse.cz>1 parent ab94c39 commit 7eb4969
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1785 | 1785 | | |
1786 | 1786 | | |
1787 | 1787 | | |
1788 | | - | |
1789 | | - | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
1790 | 1791 | | |
1791 | 1792 | | |
1792 | 1793 | | |
| |||
0 commit comments