mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
procfs: Use generic_file_llseek in /proc/kmsg
No need to hold the bkl to seek here, none of the other fops callbacks use it. Use generic_file_llseek explicitly. Signed-off-by: Frederic Weisbecker <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: John Kacur <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Al Viro <[email protected]>
This commit is contained in:
parent
34aacb2920
commit
41775e29a7
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ static const struct file_operations proc_kmsg_operations = {
|
|||
.poll = kmsg_poll,
|
||||
.open = kmsg_open,
|
||||
.release = kmsg_release,
|
||||
.llseek = generic_file_llseek,
|
||||
};
|
||||
|
||||
static int __init proc_kmsg_init(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue