summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-06-07 09:58:08 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-10 23:40:25 -0400
commit83d93f2229348837bf988a1048f7f38789474471 (patch)
treecd4c6fc06cea4f7f761ceac187671f9cb5348d20 /fs/nfs
parenta0356862bcbeb20acf64bc1a82d28a4c5bb957a7 (diff)
downloadblackbird-op-linux-83d93f2229348837bf988a1048f7f38789474471.tar.gz
blackbird-op-linux-83d93f2229348837bf988a1048f7f38789474471.zip
NFS: Use GFP_HIGHUSER for page allocation in nfs_symlink()
nfs_symlink() allocates a GFP_KERNEL page for the pagecache. Most pagecache pages are allocated using GFP_HIGHUSER, and there's no reason not to do that in nfs_symlink() as well. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index c02a7962e69d..0f41678fd7ee 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1534,7 +1534,7 @@ static int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *sym
lock_kernel();
- page = alloc_page(GFP_KERNEL);
+ page = alloc_page(GFP_HIGHUSER);
if (!page) {
unlock_kernel();
return -ENOMEM;
OpenPOWER on IntegriCloud