aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/mmap.c')
-rw-r--r--fs/ecryptfs/mmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ecryptfs/mmap.c b/fs/ecryptfs/mmap.c
index 89dbbbbcce07..307f7ee77420 100644
--- a/fs/ecryptfs/mmap.c
+++ b/fs/ecryptfs/mmap.c
@@ -762,8 +762,9 @@ ecryptfs_write_zeros(struct file *file, pgoff_t index, int start, int num_zeros)
762 rc = PTR_ERR(tmp_page); 762 rc = PTR_ERR(tmp_page);
763 goto out; 763 goto out;
764 } 764 }
765 if ((rc = ecryptfs_prepare_write_no_truncate(file, tmp_page, start, 765 rc = ecryptfs_prepare_write_no_truncate(file, tmp_page, start,
766 (start + num_zeros)))) { 766 (start + num_zeros));
767 if (rc) {
767 ecryptfs_printk(KERN_ERR, "Error preparing to write zero's " 768 ecryptfs_printk(KERN_ERR, "Error preparing to write zero's "
768 "to page at index [0x%.16x]\n", 769 "to page at index [0x%.16x]\n",
769 index); 770 index);