nvram: Drop the bkl from nvram_llseek()
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 9 Oct 2009 19:20:30 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 14 Oct 2009 15:36:49 +0000 (17:36 +0200)
commit6783b9cd7104470a3afab51c205c5aea53a2858f
tree461b15ff61a7c737e2fef8af8db928c4ae4e7798
parent205153aa40b7fb36dc7fe76c1798584ace55b288
nvram: Drop the bkl from nvram_llseek()

There is nothing to protect inside nvram_llseek(), the file
offset doesn't need to be protected and nvram_len is only
initialized from an __init path.

It's safe to remove the big kernel lock there.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1255116030-6929-1-git-send-email-fweisbec@gmail.com>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/char/generic_nvram.c