diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-29 03:07:28 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-30 14:18:41 -0700 |
commit | 9dce07f1a441b77a15631cf0ed0238e0baa7ed64 (patch) | |
tree | 2131d670d31ae4727b4234e3e0ad176ae103d571 /kernel/cgroup.c | |
parent | 1076d17ac70d1bb28fadc6f4bd96977b56897025 (diff) | |
download | kernel_samsung_smdk4412-9dce07f1a441b77a15631cf0ed0238e0baa7ed64.zip kernel_samsung_smdk4412-9dce07f1a441b77a15631cf0ed0238e0baa7ed64.tar.gz kernel_samsung_smdk4412-9dce07f1a441b77a15631cf0ed0238e0baa7ed64.tar.bz2 |
NULL noise: fs/*, mm/*, kernel/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index e9c2fb0..53d86b4 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -2082,7 +2082,7 @@ static int cgroup_tasks_open(struct inode *unused, struct file *file) kfree(pidarray); } else { - ctr->buf = 0; + ctr->buf = NULL; ctr->bufsz = 0; } file->private_data = ctr; @@ -2614,7 +2614,7 @@ static int proc_cgroupstats_show(struct seq_file *m, void *v) static int cgroupstats_open(struct inode *inode, struct file *file) { - return single_open(file, proc_cgroupstats_show, 0); + return single_open(file, proc_cgroupstats_show, NULL); } static struct file_operations proc_cgroupstats_operations = { |