Messages in this thread | | | Date | Mon, 3 Jan 2005 16:21:12 -0800 | From | Chris Wright <> | Subject | Re: pin files in memory after read |
| |
* Olaf Hering (olh@suse.de) wrote: > with an absolute path. Any idea how to get to the relative path like > "./x" and print an absolute path for these files?
d_path() will give that to you, once you've resolved the path to dentry and vfsmount pair.
thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |