diff options
Diffstat (limited to 'fs/nfs/nfs4filelayoutdev.c')
-rw-r--r-- | fs/nfs/nfs4filelayoutdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c index a1fab8da7f03..f81231f30d94 100644 --- a/fs/nfs/nfs4filelayoutdev.c +++ b/fs/nfs/nfs4filelayoutdev.c | |||
@@ -728,7 +728,7 @@ get_device_info(struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_fla | |||
728 | pdev->layout_type = LAYOUT_NFSV4_1_FILES; | 728 | pdev->layout_type = LAYOUT_NFSV4_1_FILES; |
729 | pdev->pages = pages; | 729 | pdev->pages = pages; |
730 | pdev->pgbase = 0; | 730 | pdev->pgbase = 0; |
731 | pdev->pglen = PAGE_SIZE * max_pages; | 731 | pdev->pglen = max_resp_sz; |
732 | pdev->mincount = 0; | 732 | pdev->mincount = 0; |
733 | 733 | ||
734 | rc = nfs4_proc_getdeviceinfo(server, pdev); | 734 | rc = nfs4_proc_getdeviceinfo(server, pdev); |