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

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue Dec 1 15:28:46 MSK 2026



On 12/1/26 13:19, Konstantin Khorenko wrote:
> 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

No we should not say anything here, it's an excess information. We fix the path
handling to work on actual path all related behavior changes and implications are
obvious.
>, which drops the rest of the write.
> 

-- 
Best regards, Pavel Tikhomirov
Senior Software Developer, Virtuozzo.



More information about the Devel mailing list