From ce2242b7611426078088c6814f15f55826c11f36 Mon Sep 17 00:00:00 2001 From: Yanchuan Nian Date: Fri, 4 Jan 2013 19:45:35 +0800 Subject: [PATCH] --- yaml --- r: 359703 b: refs/heads/master c: ec1686761753ead775e9474a6265323a4c555bc6 h: refs/heads/master i: 359701: d519ec55e761793e3a18b177f78a203c41ea82cb 359699: 4f534a9578770140d169df7581e5a3c13d1c63c3 359695: 647cfdd768ea41a0ccd7b88629ad12a8c63d79f0 v: v3 --- [refs] | 2 +- trunk/net/sunrpc/cache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a4f1ac7b6745..3819d03edebe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 266533c6df7a4a4e2ebd0bfdd272f7eb7cf4b81f +refs/heads/master: ec1686761753ead775e9474a6265323a4c555bc6 diff --git a/trunk/net/sunrpc/cache.c b/trunk/net/sunrpc/cache.c index 9afa4393c217..9f8470353362 100644 --- a/trunk/net/sunrpc/cache.c +++ b/trunk/net/sunrpc/cache.c @@ -1614,7 +1614,7 @@ static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) goto out_nomem; } if (cd->cache_show) { - p = proc_create_data("content", S_IFREG|S_IRUSR|S_IWUSR, + p = proc_create_data("content", S_IFREG|S_IRUSR, cd->u.procfs.proc_ent, &content_file_operations_procfs, cd); cd->u.procfs.content_ent = p;