문제

I am reading "Understanding the Linux Kernel" 3rd edition, by D.Bovet & M.Cesati. In the chapter about Virtual file systems, they refer to the function "path_lookup()" that does the lookup for a given path. The book is based on linux-2.6. I am viewing files in linux-3.7.6 and I can't find the function (using cscope tool). Any idea what's the equivalent function in this version of linux?

도움이 되었습니까?

해결책

On current kernel versions you can achieve the same using vfs_path_lookup() (http://lxr.linux.no/linux+*/fs/namei.c#L2051).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top