--- fs/cifs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22-rc6-mm1/fs/cifs/inode.c =================================================================== --- linux-2.6.22-rc6-mm1.orig/fs/cifs/inode.c 2007-07-03 17:56:29.000000000 -0700 +++ linux-2.6.22-rc6-mm1/fs/cifs/inode.c 2007-07-03 17:56:54.000000000 -0700 @@ -1341,7 +1341,7 @@ static int cifs_truncate_page(struct add if (!page) return -ENOMEM; - zero_user_page(page, offset, PAGE_CACHE_SIZE - offset, KM_USER0); + zero_user_segment(page, offset, PAGE_CACHE_SIZE); unlock_page(page); page_cache_release(page); return rc;