Thread (9 messages) flat view 9 messages, 4 authors, 2015-09-17

How to get the inode - no path_lookup

From: priyamn <hidden>
Date: 2015-09-04 16:26:06

Hi,

I happened to come across this discussion. I am having a similar issue. 
I am using Rhel7-3.10.0-123 
kernel. I tried all the options that are mentioned above and none of the api's 
including kern_path() return valid dentry value. 
My requirement is to fetch directory name from filepath.

Can anybody suggest a work-around for this ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help