mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
68db38f153
commit
bc231d2a04
|
@ -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) */
|
||||
|
|
Loading…
Reference in New Issue