[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+cF-pv2gyn+LqUAwyiojmzC=6y+mjqf1KkaV_86jMZaJ0oJtQ@mail.gmail.com>
Date: Fri, 14 Sep 2012 19:07:43 -0700
From: Jacob Sowles <sowlesj@...il.com>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Getting debugfs mountpoint?
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.
Jacob
On Fri, Sep 14, 2012 at 6:57 PM, Al Viro <viro@...iv.linux.org.uk> wrote:
> On Fri, Sep 14, 2012 at 06:49:01PM -0700, Jacob Sowles wrote:
>> Is there an easy way to get the path to where debugfs is mounted? I
>> found a function called debugfs_find_mountpoint(), which is exactly
>> what I want, but it’s not exported, so I can’t use it. The only
>> exported debugfs functions that I could find are the ones that create,
>> remove, etc.
>
> More to the point, it's a userland function. Why would you want that
> kernel-side?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists