summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-02-24 00:24:12 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-24 02:13:25 +0100
commitbc231d2a048010d5e0b49ac7fddbfa822fc41109 (patch)
tree5f38e9f917070a73e3de83d9e602c752b2e4c696 /kernel/cgroup.c
parentcgroup: remove duplicate code in find_css_set() (diff)
downloadlinux-bc231d2a048010d5e0b49ac7fddbfa822fc41109.tar.xz
linux-bc231d2a048010d5e0b49ac7fddbfa822fc41109.zip
cgroup: remove dead code in cgroup_get_rootdir()
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--kernel/cgroup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 2aa408201aa5..d8abe996e009 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -919,7 +919,6 @@ static int cgroup_get_rootdir(struct super_block *sb)
if (!inode)
return -ENOMEM;
- inode->i_op = &simple_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
inode->i_op = &cgroup_dir_inode_operations;
/* directories start off with i_nlink == 2 (for "." entry) */