aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorTrond Myklebust2021-04-15 15:09:41 -0400
committerTrond Myklebust2021-04-16 08:50:21 -0400
commit8926cc8302819be9e67f70409ed001ecb2c924a9 (patch)
treefae2002afb8c5e04aeb9f073b8e0ef31e696caa8 /fs/nfs/pnfs.c
parentfebfeaaefefb6e3a42e4ca279270a740014ce227 (diff)
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: 58ac3e59235f ("NFSv4/pnfs: Clean up nfs_layout_find_inode()") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions