diff options
author | Nick Piggin <npiggin@suse.de> | 2008-07-19 23:29:02 +0300 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-07-19 23:29:02 +0300 |
commit | a203d3ccd131487b38094c3f5f4fb4f2fed593d7 (patch) | |
tree | 079da167e0a92db46766b7a98a6772a0cad80c42 /scripts/patch-kernel | |
parent | 06a2539978d97915d82c4d405528f8f92db0faaf (diff) |
mm: trim more holes (CVE-2008-0598)
If prepare_write fails with AOP_TRUNCATED_PAGE, or if commit_write fails, then
we may have failed the write operation despite prepare_write having
instantiated blocks past i_size. Fix this, and consolidate the trimming into
one place.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions