Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFS: Fix a bogus warning in nfs_generic_pgio
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: Steve Dickson <[email protected]> Fixes: bba5c18 (nfs: disallow duplicate pages in pgio page vectors) Cc: Weston Andros Adamson <[email protected]> Cc: [email protected] # 3.16.x Signed-off-by: Trond Myklebust <[email protected]>
- Loading branch information