[Devel] [PATCH hci-8.2 1/3] ve/kernfs: count repeated slashes in a permission path as one

Konstantin Khorenko khorenko at virtuozzo.com
Tue Dec 1 15:19:46 MSK 2026


Item 1 of the cover letter reply.

On Tue, 1 Dec 2026 12:43:29 +0100, Pavel Tikhomirov wrote:
> Walk the path with kernfs_walk_and_get(), which skips empty components
> as a path lookup does.

Say what else changes with it: "/kernel rx" used to set the sysfs
root and now sets kernel; "dir//missing" used to set dir and now
fails with -ENOENT, which drops the rest of the write.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list