diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-01-10 23:58:08 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-01-11 00:29:28 +0300 |
commit | 896567ee7f17a8a736cda8a28cc987228410a2ac (patch) | |
tree | ce45855890dae75c07ca36f1f53b982731e26d26 /net | |
parent | 113aac6d567bda783af36d08f73bfda47d8e9a40 (diff) | |
download | linux-896567ee7f17a8a736cda8a28cc987228410a2ac.tar.xz |
NFS: nfs_igrab_and_active 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: ea7c38fef0b7 ("NFSv4: Ensure we reference the inode for return-on-close in delegreturn")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions