commit | 0511fdb4a378183ca18a9678d3d9044c8ec592c2 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 19 22:28:16 2023 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Feb 25 02:10:32 2024 -0500 |
tree | 55e72a5e51f4d63220b8887f66a717c850d3206c | |
parent | 053fc4f755ad43cf35210677bcba798ccdc48d0c [diff] |
cifs_get_link(): bail out in unsafe case ->d_revalidate() bails out there, anyway. It's not enough to prevent getting into ->get_link() in RCU mode, but that could happen only in a very contrieved setup. Not worth trying to do anything fancy here unless ->d_revalidate() stops kicking out of RCU mode at least in some cases. Reviewed-by: Christian Brauner <brauner@kernel.org> Acked-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>