From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) by kanga.kvack.org (Postfix) with ESMTP id 0D8DC6B0037 for ; Wed, 27 Nov 2013 10:46:15 -0500 (EST) Received: by mail-la0-f41.google.com with SMTP id eo20so5482710lab.28 for ; Wed, 27 Nov 2013 07:46:15 -0800 (PST) Received: from relay.parallels.com (relay.parallels.com. [195.214.232.42]) by mx.google.com with ESMTPS id d9si7051868lad.0.2013.11.27.07.46.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 27 Nov 2013 07:46:14 -0800 (PST) From: Vladimir Davydov Subject: [PATCH] memcg: make memcg_update_cache_sizes() static Date: Wed, 27 Nov 2013 19:46:02 +0400 Message-ID: <1385567162-14973-2-git-send-email-vdavydov@parallels.com> In-Reply-To: <1385567162-14973-1-git-send-email-vdavydov@parallels.com> References: <1385567162-14973-1-git-send-email-vdavydov@parallels.com> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, cgroups@vger.kernel.org, devel@openvz.org, Johannes Weiner , Michal Hocko , Balbir Singh , KAMEZAWA Hiroyuki This function is not used outside of memcontrol.c so make it static. Signed-off-by: Vladimir Davydov Cc: Johannes Weiner Cc: Michal Hocko Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 40efb9d..b20b915 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -3084,7 +3084,7 @@ int memcg_cache_id(struct mem_cgroup *memcg) * But when we create a new cache, we can call this as well if its parent * is kmem-limited. That will have to hold set_limit_mutex as well. */ -int memcg_update_cache_sizes(struct mem_cgroup *memcg) +static int memcg_update_cache_sizes(struct mem_cgroup *memcg) { int num, ret; -- 1.7.10.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org