On Fri, Sep 14, 2012 at 07:17:12PM -0700, Jacob Sowles wrote: > The first instance of my code calls debugfs_create_file and stores a > pointer to the dentry of that directory. But when the second instance > calls debugfs_create_file, the function returns NULL because that > directory already exists, so it doesn't return the dentry that I need.
... and? Ever heard of that thing called "global variable"? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/