CGroup API files: rename read/write_uint methods to read_write_u64

Several people have justifiably complained that the "_uint" suffix is
inappropriate for functions that handle u64 values, so this patch just renames
all these functions and their users to have the suffic _u64.

[peterz@infradead.org: build fix]
Signed-off-by: Paul Menage <menage@google.com>
Cc: "Li Zefan" <lizf@cn.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: "YAMAMOTO Takashi" <yamamoto@valinux.co.jp>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Paul Menage
2008-04-29 00:59:56 -07:00
committed by Linus Torvalds
parent 3ff31d0cca
commit f4c753b7ea
4 changed files with 32 additions and 32 deletions

View File

@@ -65,21 +65,21 @@ static u64 current_css_set_refcount_read(struct cgroup *cont,
static struct cftype files[] = {
{
.name = "cgroup_refcount",
.read_uint = cgroup_refcount_read,
.read_u64 = cgroup_refcount_read,
},
{
.name = "taskcount",
.read_uint = taskcount_read,
.read_u64 = taskcount_read,
},
{
.name = "current_css_set",
.read_uint = current_css_set_read,
.read_u64 = current_css_set_read,
},
{
.name = "current_css_set_refcount",
.read_uint = current_css_set_refcount_read,
.read_u64 = current_css_set_refcount_read,
},
};