From: liguozhu@huawei.com
To: linux-kernel@vger.kernel.org
Subject: Problem with debugfs
Date: Tue, 21 Sep 2010 10:21:12 +0800 [thread overview]
Message-ID: <20100921022112.GA10336@localhost> (raw)
Hi, there,
I do not know who is the maintainer for debugfs now. But I think there is
problem with its API: It uses filp->priv->mutex to protect the read/write (to
the file) for the value of its attribute, but the mutex is not exported to the
API user. Therefore, there is no way to protect its value when you directly
use the value in your module.
Is my understanding correct?
Thanks
Best Regards
Kenneth Lee
next reply other threads:[~2010-09-21 2:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-21 2:21 liguozhu [this message]
2010-09-21 3:43 ` Problem with debugfs Greg KH
2010-09-21 4:38 ` Randy Dunlap
2010-09-21 13:40 ` Greg KH
2010-09-21 6:13 ` Kenneth
2010-09-21 7:23 ` KOSAKI Motohiro
2010-09-21 7:31 ` Andi Kleen
2010-09-21 8:04 ` Wu Fengguang
2010-09-21 8:12 ` Andi Kleen
2010-09-25 1:18 ` Kenneth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100921022112.GA10336@localhost \
--to=liguozhu@huawei.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox