aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiubo Li <[email protected]>2023-11-17 13:26:18 +0800
committerIlya Dryomov <[email protected]>2024-01-15 15:40:50 +0100
commitb493ad718b1f0357394d2cdecbf00a44a36fa085 (patch)
tree2c6c9a25b8de2ff1cd7f67ff4de538438d6aff52 /lib/netdev-notifier-error-inject.c
parentaaefabc4a5f7ae48682c4d2d5d10faaf95c08eb9 (diff)
ceph: fix deadlock or deadcode of misusing dget()
The lock order is incorrect between denty and its parent, we should always make sure that the parent get the lock first. But since this deadcode is never used and the parent dir will always be set from the callers, let's just remove it. Link: https://lore.kernel.org/r/20231116081919.GZ1957730@ZenIV Reported-by: Al Viro <[email protected]> Signed-off-by: Xiubo Li <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions