forked from luck/tmp_suning_uos_patched
4b998d4f6e
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> |
||
---|---|---|
.. | ||
aztcd.c | ||
aztcd.h | ||
cdrom.c | ||
cdu31a.c | ||
cdu31a.h | ||
cm206.c | ||
cm206.h | ||
gscd.c | ||
gscd.h | ||
isp16.c | ||
isp16.h | ||
Kconfig | ||
Makefile | ||
mcdx.c | ||
mcdx.h | ||
optcd.c | ||
optcd.h | ||
sbpcd.c | ||
sbpcd.h | ||
sjcd.c | ||
sjcd.h | ||
sonycd535.c | ||
sonycd535.h | ||
viocd.c |