From 2ce19377f08b00240552bbd58882b17fe0d5ab83 Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Fri, 7 Aug 2009 16:37:10 +0800 Subject: [PATCH] --- yaml --- r: 156555 b: refs/heads/master c: 9795447f71324d8f14c19ed68b43c883135c3f59 h: refs/heads/master i: 156553: 369f6ddde4144aad7a83055dc23faa5a00f03b1b 156551: 4d64a9fc4166e2e6863891f78425fc53287ed51d v: v3 --- [refs] | 2 +- trunk/kernel/lockdep_proc.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 968a8f2c38b5..ad61971bba91 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1bbf20835c4e088667a090ce6523a0f70b62dc76 +refs/heads/master: 9795447f71324d8f14c19ed68b43c883135c3f59 diff --git a/trunk/kernel/lockdep_proc.c b/trunk/kernel/lockdep_proc.c index d7135aa2d2c4..e94caa666dba 100644 --- a/trunk/kernel/lockdep_proc.c +++ b/trunk/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;