diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /fs/nfs/file.c | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
	Documentation/feature-removal-schedule.txt
	net/ipv6/netfilter/ip6t_REJECT.c
	net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'fs/nfs/file.c')
| -rw-r--r-- | fs/nfs/file.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/fs/nfs/file.c b/fs/nfs/file.c index ae8d02294e46..8d965bddb87e 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
| @@ -24,9 +24,9 @@ | |||
| 24 | #include <linux/nfs_fs.h> | 24 | #include <linux/nfs_fs.h> | 
| 25 | #include <linux/nfs_mount.h> | 25 | #include <linux/nfs_mount.h> | 
| 26 | #include <linux/mm.h> | 26 | #include <linux/mm.h> | 
| 27 | #include <linux/slab.h> | ||
| 28 | #include <linux/pagemap.h> | 27 | #include <linux/pagemap.h> | 
| 29 | #include <linux/aio.h> | 28 | #include <linux/aio.h> | 
| 29 | #include <linux/gfp.h> | ||
| 30 | 30 | ||
| 31 | #include <asm/uaccess.h> | 31 | #include <asm/uaccess.h> | 
| 32 | #include <asm/system.h> | 32 | #include <asm/system.h> | 
| @@ -491,7 +491,8 @@ static int nfs_release_page(struct page *page, gfp_t gfp) | |||
| 491 | { | 491 | { | 
| 492 | dfprintk(PAGECACHE, "NFS: release_page(%p)\n", page); | 492 | dfprintk(PAGECACHE, "NFS: release_page(%p)\n", page); | 
| 493 | 493 | ||
| 494 | if (gfp & __GFP_WAIT) | 494 | /* Only do I/O if gfp is a superset of GFP_KERNEL */ | 
| 495 | if ((gfp & GFP_KERNEL) == GFP_KERNEL) | ||
| 495 | nfs_wb_page(page->mapping->host, page); | 496 | nfs_wb_page(page->mapping->host, page); | 
| 496 | /* If PagePrivate() is set, then the page is not freeable */ | 497 | /* If PagePrivate() is set, then the page is not freeable */ | 
| 497 | if (PagePrivate(page)) | 498 | if (PagePrivate(page)) | 
