aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
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/dir.c
parenta0356862bcbeb20acf64bc1a82d28a4c5bb957a7 (diff)
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/dir.c')
-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
1534 1534
1535 lock_kernel(); 1535 lock_kernel();
1536 1536
1537 page = alloc_page(GFP_KERNEL); 1537 page = alloc_page(GFP_HIGHUSER);
1538 if (!page) { 1538 if (!page) {
1539 unlock_kernel(); 1539 unlock_kernel();
1540 return -ENOMEM; 1540 return -ENOMEM;