lockdep: Fix file mode of lock_stat

/proc/lock_stat is writable.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4A7BE7B6.10904@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Li Zefan and committed by Ingo Molnar 9795447f 1bbf2083

+2 -1
+2 -1
kernel/lockdep_proc.c
··· 758 &proc_lockdep_stats_operations); 759 760 #ifdef CONFIG_LOCK_STAT 761 - proc_create("lock_stat", S_IRUSR, NULL, &proc_lock_stat_operations); 762 #endif 763 764 return 0;
··· 758 &proc_lockdep_stats_operations); 759 760 #ifdef CONFIG_LOCK_STAT 761 + proc_create("lock_stat", S_IRUSR | S_IWUSR, NULL, 762 + &proc_lock_stat_operations); 763 #endif 764 765 return 0;