lkml.org 
[lkml]   [2008]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] proc: convert /proc/tty/ldiscs to seq_file interface
On Sun, 13 Apr 2008 00:59:23 +0400 Alexey Dobriyan <adobriyan@gmail.com> wrote:

> @@ -224,7 +239,6 @@ void __init proc_tty_init(void)
> * entry.
> */
> proc_tty_driver = proc_mkdir_mode("tty/driver", S_IRUSR | S_IXUSR, NULL);
> -
> - create_proc_read_entry("tty/ldiscs", 0, NULL, tty_ldiscs_read_proc, NULL);
> + proc_create("tty/ldiscs", 0, NULL, &tty_ldiscs_proc_fops);
> proc_create("tty/drivers", 0, NULL, &proc_tty_drivers_operations);
> }

hm. proc_tty_init() used to check for _some_ procfs API failures. Now it
doesn't do any checking at all.


\
 
 \ /
  Last update: 2008-04-15 08:41    [W:0.264 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site