Skip to content
Snippets Groups Projects
user avatar
Trond Myklebust authored
It is OK for pageused == pagecount in the loop, as long as we don't add
another entry to the *pages array. Move the test so that it only triggers
in that case.

Reported-by: default avatarSteve Dickson <SteveD@redhat.com>
Fixes: bba5c188 (nfs: disallow duplicate pages in pgio page vectors)
Cc: Weston Andros Adamson <dros@primarydata.com>
Cc: stable@vger.kernel.org # 3.16.x
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
b8fb9c30
History
Name Last commit Last update