| To: | dgc@xxxxxxx |
|---|---|
| Subject: | [xfs-masters] [patch 3/3] xfs: use zero_user_page |
| From: | akpm@xxxxxxxxxxxxxxxxxxxx |
| Date: | Thu, 10 May 2007 23:10:43 -0700 |
| Cc: | tes@xxxxxxx, xfs-masters@xxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, nate.diller@xxxxxxxxx |
| Reply-to: | xfs-masters@xxxxxxxxxxx |
| Sender: | xfs-masters-bounce@xxxxxxxxxxx |
From: Nate Diller <nate.diller@xxxxxxxxx>
Use zero_user_page() instead of the newly deprecated memclear_highpage_flush().
Signed-off-by: Nate Diller <nate.diller@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---
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);
_
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [xfs-masters] [patch 1/3] xfs clean up shrinker games, akpm |
|---|---|
| Next by Date: | [xfs-masters] [patch 2/3] xfs: fix unmount race, akpm |
| Previous by Thread: | [xfs-masters] [patch 1/3] xfs clean up shrinker games, akpm |
| Next by Thread: | [xfs-masters] [patch 2/3] xfs: fix unmount race, akpm |
| Indexes: | [Date] [Thread] [Top] [All Lists] |