diff options
author | Nate Diller <nate.diller@gmail.com> | 2007-05-10 22:55:08 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-14 19:33:45 -0400 |
commit | 60945cb7c8377b727288275f21791914fe65311c (patch) | |
tree | eb84b18a1e590d3c56b3779b4e1d071b21fca2bc /fs/nfs/write.c | |
parent | 550facd138d8f6b0ca683c1e894b5cd0f381cb63 (diff) | |
download | kernel_samsung_tuna-60945cb7c8377b727288275f21791914fe65311c.zip kernel_samsung_tuna-60945cb7c8377b727288275f21791914fe65311c.tar.gz kernel_samsung_tuna-60945cb7c8377b727288275f21791914fe65311c.tar.bz2 |
NFS: use zero_user_page
Use zero_user_page() instead of the newly deprecated memclear_highpage_flush().
Signed-off-by: Nate Diller <nate.diller@gmail.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index de92b95..211d0b1 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -168,7 +168,7 @@ static void nfs_mark_uptodate(struct page *page, unsigned int base, unsigned int if (count != nfs_page_length(page)) return; if (count != PAGE_CACHE_SIZE) - memclear_highpage_flush(page, count, PAGE_CACHE_SIZE - count); + zero_user_page(page, count, PAGE_CACHE_SIZE - count, KM_USER0); SetPageUptodate(page); } |