85cc9b1144
fix-rmmod-read-write-races-in-proc-entries.patch doesn't want dynamically allocated ->proc_fops, because it will set it to NULL at module unload time. Regardless of module status, switch to statically allocated ->proc_fops which leads to simpler code without wrappers. AFAICS, also fix the following bug: "sn_force_interrupt" proc entry set ->write for itself, but was created with 0444 permissions. Change to 0644. Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: "Luck, Tony" <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
sn2 | ||
bte_error.c | ||
bte.c | ||
huberror.c | ||
idle.c | ||
io_acpi_init.c | ||
io_common.c | ||
io_init.c | ||
iomv.c | ||
irq.c | ||
klconflib.c | ||
machvec.c | ||
Makefile | ||
mca.c | ||
msi_sn.c | ||
pio_phys.S | ||
setup.c | ||
tiocx.c | ||
xp_main.c | ||
xp_nofault.S | ||
xpc_channel.c | ||
xpc_main.c | ||
xpc_partition.c | ||
xpnet.c |