diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-06-09 17:03:23 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 21:58:06 +0200 |
commit | 2eb3aea7d9c43325a12df312adfc7fb25bbd636b (patch) | |
tree | 7144d3907b09c5a2df836b73b6a5baed3ade6491 /mm/backing-dev.c | |
parent | NFS: Fix commit policy for non-blocking calls to nfs_write_inode() (diff) | |
download | linux-2eb3aea7d9c43325a12df312adfc7fb25bbd636b.tar.xz linux-2eb3aea7d9c43325a12df312adfc7fb25bbd636b.zip |
NFS: Fix initialization of nfs_page_array->npages
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>
Cc: stable@vger.kernel.org # 4.12
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions