Skip to content
Commit 8926cc83 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting



If the NFS super block is being unmounted, then we currently may end up
telling the server that we've forgotten the layout while it is actually
still in use by the client.
In that case, just assume that the client will soon return the layout
anyway, and so return NFS4ERR_DELAY in response to the layout recall.

Fixes: 58ac3e59 ("NFSv4/pnfs: Clean up nfs_layout_find_inode()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent febfeaae
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