How to check if a file is a present in a directory(directly/indirectly)

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

 



I am building a LKM in which I need to check whether a file is inside
a particular directory(directly or inside sub-directories). Is there a
function for this? Do I need to use the lookup function in
inode_operations for this or is there a better method?

Regards,
winged_elite

_______________________________________________
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