summaryrefslogtreecommitdiff
path: root/Kernel/Arch/IRQController.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-07-16 18:15:37 +0300
committerLinus Groh <mail@linusgroh.de>2022-07-24 13:38:24 +0100
commit60f7d61ad2b7bbaee4d78b0cf9c395c52b9587eb (patch)
treedeb84863c2057241be9e838a94de3e4ec0ac454c /Kernel/Arch/IRQController.h
parent7e6e7d67a94c7996c6e19ce08b74570ecadf007c (diff)
downloadserenity-60f7d61ad2b7bbaee4d78b0cf9c395c52b9587eb.zip
Kernel/SysFS: Fix parent directory hierarchy with symbolic links
We should actually start counting from the parent directory and not from the symbolic link as it will represent a wrong count of hops from the actual mountpoint. The symlinks in /sys/dev/block and /sys/dev/char worked only by luck, because I have set it to the wrong parent directory which is the /sys/dev directory, so with the symlink it was 3 hops to /sys, together with the root directory, therefore, everything seemed to work. Now that the device symlinks in /sys/dev/block and /sys/dev/char are set to the right parent directory and we start measure hops from root directory with the parent directory of a symlink, everything seem to work correctly now.
Diffstat (limited to 'Kernel/Arch/IRQController.h')
0 files changed, 0 insertions, 0 deletions