commit | 50c8000744463aa8534de0d739b50ed4f06f8275 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Jul 11 19:02:18 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Jul 15 10:11:20 2019 -0400 |
tree | 89f5d13630aa386fa91dc06b32bf2bfd66b19581 | |
parent | 5b596830d9710e3554354f717dc56f8640841c82 [diff] |
NFSv4: Validate the stateid before applying it to state recovery If the stateid is the zero or invalid stateid, then it is pointless to attempt to use it for recovery. In that case, try to fall back to using the open state stateid, or just doing a general recovery of all state on a given inode. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>