From: Nate Diller Use zero_user_page() instead of the newly deprecated memclear_highpage_flush(). Signed-off-by: Nate Diller Signed-off-by: Andrew Morton --- fs/xfs/linux-2.6/xfs_lrw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/xfs/linux-2.6/xfs_lrw.c~xfs-use-zero_user_page fs/xfs/linux-2.6/xfs_lrw.c --- a/fs/xfs/linux-2.6/xfs_lrw.c~xfs-use-zero_user_page +++ a/fs/xfs/linux-2.6/xfs_lrw.c @@ -159,7 +159,7 @@ xfs_iozero( if (status) goto unlock; - memclear_highpage_flush(page, offset, bytes); + zero_user_page(page, offset, bytes, KM_USER0); status = mapping->a_ops->commit_write(NULL, page, offset, offset + bytes); _