Re: How to get the inode - no path_lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux