linux/drivers/cdrom
Eric W. Biederman 4b998d4f6e [PATCH] sysctl: cdrom: don't set de->owner
There is no need for open files in /proc/sys/XXX to hold a reference count on
the module that provides the file to prevent module unload races.  While there
is code active in the module p->used in the sysctl_table_header is
incremented, preventing the sysctl from being unregisted.  Once the sysctl is
unregistered it cannot be found.  Open files are also not a problem as they
revalidate the sysctl information and bump p->used before accessing module
code.

So setting de->owner is unnecessary, makes for a bad example and gets in my
way of removing ctl_table->de.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Acked-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-14 08:09:56 -08:00
..
aztcd.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
aztcd.h
cdrom.c [PATCH] sysctl: cdrom: don't set de->owner 2007-02-14 08:09:56 -08:00
cdu31a.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cdu31a.h
cm206.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
cm206.h
gscd.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
gscd.h
isp16.c
isp16.h
Kconfig [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
Makefile
mcdx.c Various drivers' irq handlers: kill dead code, needless casts 2006-10-06 15:00:58 -04:00
mcdx.h
optcd.c [PATCH] drivers/cdrom/*: trivial vsnprintf() conversion 2006-12-07 08:39:35 -08:00
optcd.h
sbpcd.c [PATCH] drivers/cdrom/*: trivial vsnprintf() conversion 2006-12-07 08:39:35 -08:00
sbpcd.h
sjcd.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sjcd.h
sonycd535.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sonycd535.h
viocd.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00