diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-10-13 16:56:12 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-10-13 17:04:02 +0200 |
commit | b8fb9c30f25e45dab5d2cd310ab6913b6861d00f (patch) | |
tree | d21470fdb513dd9a0f8160dbbdb9405a7751ce27 /fs/ecryptfs | |
parent | NFS: Fix an uninitialised pointer Oops in the writeback error path (diff) | |
download | linux-b8fb9c30f25e45dab5d2cd310ab6913b6861d00f.tar.xz linux-b8fb9c30f25e45dab5d2cd310ab6913b6861d00f.zip |
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 <SteveD@redhat.com>
Fixes: bba5c1887a92 (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: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions