pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Dec 2015 15:57:01 +0000 (10:57 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Dec 2015 15:57:01 +0000 (10:57 -0500)
commit86fb449b07b8215443a30782dca5755d5b8b0577
tree3e23f1984b6c71a23a2cb68d4fc15e62a5aadb0c
parentade14a7df796d4e86bd9d181193c883a57b13db0
pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()

Jeff reports seeing an Oops in ff_layout_alloc_lseg. Turns out
copy+paste has played cruel tricks on a nested loop.

Reported-by: Jeff Layton <jeff.layton@primarydata.com>
Cc: stable@vger.kernel.org # 4.3+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c