From: Stephen Boyd <sboyd@codeaurora.org>
To: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
hsweeten@visionengravers.com
Subject: Re: [PATCH RFC] debugfs: rename, export, and use default_open() as debugfs_default_open()
Date: Wed, 21 Mar 2012 00:33:38 -0700 [thread overview]
Message-ID: <4F698452.1080102@codeaurora.org> (raw)
In-Reply-To: <201203201547.05656.hartleys@visionengravers.com>
On 3/20/2012 3:47 PM, H Hartley Sweeten wrote:
> Rename default_open() in fs/debugfs/file.c to debugfs_default_open()
> and export it for use by the many debugfs open() methods that simply
> do:
>
> static int foo_open(struct inode *inode, struct file *file)
> {
> file->private_data = inode->i_private;
> return 0;
> }
>
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
>
> ---
>
I sent a patch to introduce simple_open() which is this function ripped
from debugfs code. I also sent a patch to fixup all the callers
(including the non-debugfs ones). Seems like we arrived at the same
thing. Andrew has picked it up and it is in -mm.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2012-03-21 7:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 22:47 [PATCH RFC] debugfs: rename, export, and use default_open() as debugfs_default_open() H Hartley Sweeten
2012-03-21 7:33 ` Stephen Boyd [this message]
2012-03-21 16:15 ` H Hartley Sweeten
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=4F698452.1080102@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=hartleys@visionengravers.com \
--cc=hsweeten@visionengravers.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