[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ADE657CA350FB648AAC2C43247A983F0020696D488A5@AUSP01VMBX24.collaborationhost.net>
Date: Wed, 21 Mar 2012 11:15:57 -0500
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Stephen Boyd <sboyd@...eaurora.org>
CC: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH RFC] debugfs: rename, export, and use default_open() as
debugfs_default_open()
On Wednesday, March 21, 2012 12:34 AM, Stephen Boyd wrote:
> 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@...ionengravers.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.
Thanks for the info. I had not seen your patch.
Regards,
Hartley
Powered by blists - more mailing lists