Commit a050c749 authored by Trond Myklebust's avatar Trond Myklebust Committed by Greg Kroah-Hartman
Browse files

pNFS/flexfiles: Avoid spurious layout returns in ff_layout_choose_ds_for_read



[ Upstream commit 9bfffea3 ]

The callers of ff_layout_choose_ds_for_read() should decide whether or
not they want to return the layout on error. Sometimes, we may just want
to retry from the beginning.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Stable-dep-of: f06bedfa ("pNFS/flexfiles: don't attempt pnfs on fatal DS errors")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6e7b5f92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment