]> git.baikalelectronics.ru Git - kernel.git/commit
uml: convert to seq_file/proc_fops
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 15 Dec 2009 02:00:11 +0000 (18:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:25 +0000 (08:53 -0800)
commitac90e9bafc6d809da52dbcb04468df2961422c06
tree821a045f88cbe2a03aed9aa4d8c56b0015b2b208
parentd04cc88e0e2962148b1f32f0a1bb6585647a0a3a
uml: convert to seq_file/proc_fops

Convert code away from ->read_proc/->write_proc interfaces.  Switch to
proc_create()/proc_create_data() which make addition of proc entries
reliable wrt NULL ->proc_fops, NULL ->data and so on.

Problem with ->read_proc et al is described here commit
9fa8363613a82d2170aefe3e79b806081a78e2ff "Fix rmmod/read/write races in
/proc entries"

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/mconsole_kern.c
arch/um/drivers/ubd_kern.c
arch/um/kernel/exitcode.c
arch/um/kernel/process.c