diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-02-27 19:01:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-23 11:30:18 +0300 |
commit | 401876dbcf6be94b31a957ccccb8e028e9d3d9cc (patch) | |
tree | ddc474dec5e740b0cf6c43f93a1f300cade059c3 /fs/nfs/direct.c | |
parent | 65ea19acb0fd2a7d3337d022ebc63f06d66581c7 (diff) | |
download | linux-401876dbcf6be94b31a957ccccb8e028e9d3d9cc.tar.xz |
NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()
[ Upstream commit d911c57a19551c6bef116a3b55c6b089901aacb0 ]
Make sure to test the stateid for validity so that we catch instances
where the server may have been reusing stateids in
nfs_layout_find_inode_by_stateid().
Fixes: 7b410d9ce460 ("pNFS: Delay getting the layout header in CB_LAYOUTRECALL handlers")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions