Commit bc231d2a authored by Li Zefan's avatar Li Zefan Committed by Linus Torvalds

cgroup: remove dead code in cgroup_get_rootdir()

Signed-off-by: default avatarLi Zefan <>
Acked-by: default avatarPaul Menage <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 68db38f1
......@@ -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) */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment