Re: Getting debugfs mountpoint?

From: Al Viro
Date: Fri Sep 14 2012 - 22:11:01 EST

On Fri, Sep 14, 2012 at 07:07:43PM -0700, Jacob Sowles wrote:
> Multiple instances of my code can be run simultaneously, and all
> instances use the same debugfs directory, so I need the path to the
> debugfs root directory so that I can use filp_open to get the dentry
> for that directory.

What's wrong with just storing a pointer to that dentry in a variable?
And what do you want an opened file (of a directory, at that) on debugfs?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at