diff options
author | Xiubo Li <[email protected]> | 2023-11-17 13:26:18 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2024-01-15 15:40:50 +0100 |
commit | b493ad718b1f0357394d2cdecbf00a44a36fa085 (patch) | |
tree | 2c6c9a25b8de2ff1cd7f67ff4de538438d6aff52 /lib/netdev-notifier-error-inject.c | |
parent | aaefabc4a5f7ae48682c4d2d5d10faaf95c08eb9 (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