diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-01-10 15:46:06 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-01-10 16:29:28 -0500 |
commit | 113aac6d567bda783af36d08f73bfda47d8e9a40 (patch) | |
tree | 129c5fefeed6674677a955447557301516562d35 /fs/mpage.c | |
parent | cb2856c5971723910a86b7d1d0cf623d6919cbc4 (diff) | |
download | linux-113aac6d567bda783af36d08f73bfda47d8e9a40.tar.gz linux-113aac6d567bda783af36d08f73bfda47d8e9a40.tar.bz2 linux-113aac6d567bda783af36d08f73bfda47d8e9a40.zip |
NFS: nfs_delegation_find_inode_server must first reference the superblock
Before referencing the inode, we must ensure that the superblock can be
referenced. Otherwise, we can end up with iput() calling superblock
operations that are no longer valid or accessible.
Fixes: e39d8a186ed0 ("NFSv4: Fix an Oops during delegation callbacks")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions