]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Feb 2016 20:01:18 +0000 (12:01 -0800)
commitc8841e15d6ded83aac4da7caf70a20d3c58bf6fe
tree36df8c24665a85025d708e05668655ed1af757b5
parent1873e6f486061eb93dc82a85fa8030857833d485
pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()

commit 86fb449b07b8215443a30782dca5755d5b8b0577 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>
fs/nfs/flexfilelayout/flexfilelayout.c