linux_dsm_epyc7002/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cm206.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
cm206.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gscd.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
gscd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isp16.c [PATCH] Update CREDITS entry and listings in source files for Jesper Juhl 2005-07-27 16:26:20 -07:00
isp16.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcdx.c Various drivers' irq handlers: kill dead code, needless casts 2006-10-06 15:00:58 -04:00
mcdx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
optcd.c [PATCH] drivers/cdrom/*: trivial vsnprintf() conversion 2006-12-07 08:39:35 -08:00
optcd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbpcd.c [PATCH] drivers/cdrom/*: trivial vsnprintf() conversion 2006-12-07 08:39:35 -08:00
sbpcd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sjcd.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sjcd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sonycd535.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sonycd535.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
viocd.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00