pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()

commit 86fb449b07 upstream.

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>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Trond Myklebust 2015-12-30 10:57:01 -05:00 • committed by Greg Kroah-Hartman
commit c8841e15d6