* Karthik M (k_mohanas@yahoo.com) wrote: <snipped code> > The path_walk() returns an error code number -2. > > What does error code -2 mean ?? where could i find > more information about what the different error number > mean ? -2 is ENOENT. you can find this in include/asm/errno.h. LOOKUP_POSITIVE means path_walk will not give you back a negative dentry, so if the file doesn't exist you'll get ENOENT. cheers, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/