|
@@ -7820,6 +7820,7 @@ static void nfs4_layoutget_done(struct rpc_task *task, void *calldata)
|
|
* Mark the bad layout state as invalid, then retry
|
|
* Mark the bad layout state as invalid, then retry
|
|
* with the current stateid.
|
|
* with the current stateid.
|
|
*/
|
|
*/
|
|
|
|
+ set_bit(NFS_LAYOUT_INVALID_STID, &lo->plh_flags);
|
|
pnfs_mark_matching_lsegs_invalid(lo, &head, NULL);
|
|
pnfs_mark_matching_lsegs_invalid(lo, &head, NULL);
|
|
spin_unlock(&inode->i_lock);
|
|
spin_unlock(&inode->i_lock);
|
|
pnfs_free_lseg_list(&head);
|
|
pnfs_free_lseg_list(&head);
|