Commit 74d2c6e5 authored by Ian Kent's avatar Ian Kent Committed by Suren Baghdasaryan
Browse files

UPSTREAM: kernfs: dont call d_splice_alias() under kernfs node lock



The call to d_splice_alias() in kernfs_iop_lookup() doesn't depend on
any kernfs node so there's no reason to hold the kernfs node lock when
calling it.

Reviewed-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarIan Kent <raven@themaw.net>
Link: https://lore.kernel.org/r/162642772000.63632.10672683419693513226.stgit@web.messagingengine.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit df6192f4)

Bug: 320903885
Bug: 219424218
Bug: 206126556
Change-Id: I5feacf76e23f9ff1840f58ebd791158f1a126b64
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent 2964a18e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment