|
@@ -758,7 +758,8 @@ static int __init lockdep_proc_init(void)
|
|
|
&proc_lockdep_stats_operations);
|
|
|
|
|
|
#ifdef CONFIG_LOCK_STAT
|
|
|
- proc_create("lock_stat", S_IRUSR, NULL, &proc_lock_stat_operations);
|
|
|
+ proc_create("lock_stat", S_IRUSR | S_IWUSR, NULL,
|
|
|
+ &proc_lock_stat_operations);
|
|
|
#endif
|
|
|
|
|
|
return 0;
|