commit | 8b04013737341442ed914b336cde866b902664ae | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Jun 22 15:04:15 2020 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Jun 26 08:43:14 2020 -0400 |
tree | fb3d56115d425196bd699a9e9516cde8ad956f3a | |
parent | 4659ed7cc8514369043053463514408ca16ad6f3 [diff] |
pNFS/flexfiles: Fix list corruption if the mirror count changes 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: d600ad1f2bdb ("NFS41: pop some layoutget errors to application") Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>