]> err.no Git - linux-2.6/commit
[PATCH] proc: remove useless (and buggy) ->nlink settings
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 10 Feb 2007 09:45:54 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:32 +0000 (10:51 -0800)
commitb653d081c17e26101980c858a9808740533b78b4
tree907b6e6d97f30b61840cf4b1654f88a1df56945c
parent891dcd2f7ab15e2aaad07f6925b3a53fd8d5c02f
[PATCH] proc: remove useless (and buggy) ->nlink settings

Bug: pnx8550 code creates directory but resets ->nlink to 1.

create_proc_entry() et al will correctly set ->nlink for you.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Corey Minyard <minyard@acm.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Greg KH <greg@kroah.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15 files changed:
arch/mips/philips/pnx8550/common/proc.c
arch/powerpc/kernel/proc_ppc64.c
arch/powerpc/kernel/rtas_flash.c
arch/powerpc/platforms/iseries/mf.c
arch/powerpc/platforms/pseries/reconfig.c
arch/um/drivers/ubd_kern.c
drivers/char/ipmi/ipmi_msghandler.c
drivers/ide/ide-proc.c
drivers/macintosh/via-pmu.c
drivers/misc/hdpuftrs/hdpu_nexus.c
drivers/parisc/led.c
drivers/s390/crypto/zcrypt_api.c
drivers/usb/gadget/rndis.c
kernel/irq/proc.c
kernel/profile.c