runtime/procfs.c uses kern_path_parent(), but that is no longer exported since: commit e3c3d9c838d48c0341c40ea45ee087e3d8c8ea39 Author: Al Viro <viro@zeniv.linux.org.uk> Date: Mon Jun 27 17:14:56 2011 -0400 unexport kern_path_parent() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Maybe we can use one of the new (exported) functions introduced in: commit dae6ad8f37529963ae7df52baaccf056b38f210e Author: Al Viro <viro@zeniv.linux.org.uk> Date: Sun Jun 26 11:50:15 2011 -0400 new helpers: kern_path_create/user_path_create combination of kern_path_parent() and lookup_create(). Does *not* expose struct nameidata to caller. Syscalls converted to that... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Fixed in commit 7f2d56c. Now 3.1 kernels use vfs_path_lookup().