diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 49590d590d7d..aa68206bd517 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -2101,7 +2101,7 @@ int cont_prepare_write(struct page *page, unsigned offset, | |||
2101 | PAGE_CACHE_SIZE, get_block); | 2101 | PAGE_CACHE_SIZE, get_block); |
2102 | if (status) | 2102 | if (status) |
2103 | goto out_unmap; | 2103 | goto out_unmap; |
2104 | zero_user_page(page, zerofrom, PAGE_CACHE_SIZE - zerofrom, | 2104 | zero_user_page(new_page, zerofrom, PAGE_CACHE_SIZE - zerofrom, |
2105 | KM_USER0); | 2105 | KM_USER0); |
2106 | generic_commit_write(NULL, new_page, zerofrom, PAGE_CACHE_SIZE); | 2106 | generic_commit_write(NULL, new_page, zerofrom, PAGE_CACHE_SIZE); |
2107 | unlock_page(new_page); | 2107 | unlock_page(new_page); |