cgroup: remove dead code in cgroup_get_rootdir()
authorLi Zefan <lizf@cn.fujitsu.com>
Sat, 23 Feb 2008 23:24:12 +0000 (15:24 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Feb 2008 01:13:25 +0000 (17:13 -0800)
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>
kernel/cgroup.c

index 2aa408201aa5d8a9f792bceaa586ddbd53cb6a7d..d8abe996e009702663d9769714f6428f88aac641 100644 (file)
@@ -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) */