Browse Source

[XFS] s/memclear_highpage_flush/zero_user_page/

SGI-PV: 957103
SGI-Modid: xfs-linux-melb:xfs-kern:28678a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Christoph Hellwig 18 năm trước cách đây
mục cha
commit
700716c846
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/xfs/linux-2.6/xfs_lrw.c

+ 1 - 1
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);