nvram: Drop the BKL from nvram_open()
authorIngo Molnar <mingo@elte.hu>
Wed, 14 Oct 2009 15:48:38 +0000 (17:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Oct 2009 15:54:03 +0000 (17:54 +0200)
commit83cb16727085b18191f45eb0ede6bf1f97d67a7a
tree5103ae4ee83c22e76f57f1a46700f074d7d51309
parent55e858c8483af427144f33b42b818b30612b82b0
nvram: Drop the BKL from nvram_open()

It's safe to remove the BKL from nvram_open(): there's no open()
versus read() races: nvram_init() is very simple and race-free,
it registers the device then puts it into /proc - there's no
state init to race with.

Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <1255116426-7270-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/char/nvram.c