diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-06-09 11:03:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-27 15:10:20 -0700 |
commit | be7e79fe053e76d385e8f3abe4666a566f3a62cb (patch) | |
tree | a99bf9431b16161bbd43417aa0b1e23e08c156b2 /fs/nfs/filelayout/filelayout.c | |
parent | 7956cddeaebf7422c9aa949665a7a39cbb2bea0b (diff) | |
download | talos-op-linux-be7e79fe053e76d385e8f3abe4666a566f3a62cb.tar.gz talos-op-linux-be7e79fe053e76d385e8f3abe4666a566f3a62cb.zip |
NFS: Fix initialization of nfs_page_array->npages
commit 2eb3aea7d9c43325a12df312adfc7fb25bbd636b upstream.
Commit 8ef9b0b9e1c0 open-coded nfs_pgarray_set(), and left out the
initialization of the nfs_page_array's npages. This mistake didn't show up
until testing with block layouts, and there shows that all pNFS reads
return -EIO.
Fixes: 8ef9b0b9e1c0 ("NFS: move nfs_pgarray_set() to open code")
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/filelayout/filelayout.c')
0 files changed, 0 insertions, 0 deletions