X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Flockdep_proc.c;h=e94caa666dba0876c6128801e3915285a797e78e;hb=22e93eddd9c63c61e5a38b82eea08f6095189e7f;hp=d7135aa2d2c4ccc0f3638cfa6fb3b2742e33c43c;hpb=c7edad5fcb86c4398f9ab2ccea82ddcc067b88af;p=~andy%2Flinux diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c index d7135aa2d2c..e94caa666db 100644 --- a/kernel/lockdep_proc.c +++ b/kernel/lockdep_proc.c @@ -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;