From 14ca7f0e15cf8e9c93f3b53a951ae86fe98aa7d4 Mon Sep 17 00:00:00 2001 From: Andy Adamson Date: Wed, 6 Jun 2012 23:57:13 -0400 Subject: [PATCH] --- yaml --- r: 320199 b: refs/heads/master c: 05bf14adcac188f573e22f72734fd0e2fab71aec h: refs/heads/master i: 320197: 95356496c130430bde8283e2ab796835e9c45087 320195: 465c007278209664f38982b81676487c717b8bad 320191: 2651e24e2dd4de4ca8e27dede7b5bb128a5b720e v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfs4filelayoutdev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a7a4d4e60986..44b5f589bbaf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2f2c63bc221c5fcded24de2704575d0abf96b910 +refs/heads/master: 05bf14adcac188f573e22f72734fd0e2fab71aec diff --git a/trunk/fs/nfs/nfs4filelayoutdev.c b/trunk/fs/nfs/nfs4filelayoutdev.c index a1fab8da7f03..f81231f30d94 100644 --- a/trunk/fs/nfs/nfs4filelayoutdev.c +++ b/trunk/fs/nfs/nfs4filelayoutdev.c @@ -728,7 +728,7 @@ get_device_info(struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_fla pdev->layout_type = LAYOUT_NFSV4_1_FILES; pdev->pages = pages; pdev->pgbase = 0; - pdev->pglen = PAGE_SIZE * max_pages; + pdev->pglen = max_resp_sz; pdev->mincount = 0; rc = nfs4_proc_getdeviceinfo(server, pdev);