Skip to content
Commit 4d3e23a6 authored by Trond Myklebust's avatar Trond Myklebust Committed by Paul Gortmaker
Browse files

pNFS/flexfiles: Fix list corruption if the mirror count changes

commit 8b040137 upstream.

If the mirror count changes in the new layout we pick up inside
ff_layout_pg_init_write(), then we can end up adding the
request to the wrong mirror and corrupting the mirror->pg_list.

Fixes: d600ad1f

 ("NFS41: pop some layoutget errors to application")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent fa1c86c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment