diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-02-23 18:24:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-23 20:13:25 -0500 |
commit | bc231d2a048010d5e0b49ac7fddbfa822fc41109 (patch) | |
tree | 5f38e9f917070a73e3de83d9e602c752b2e4c696 /kernel | |
parent | 68db38f1537a44097e264f28bda751d6b919cd53 (diff) |
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 'kernel')
-rw-r--r-- | kernel/cgroup.c | 1 |
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) | |||
919 | if (!inode) | 919 | if (!inode) |
920 | return -ENOMEM; | 920 | return -ENOMEM; |
921 | 921 | ||
922 | inode->i_op = &simple_dir_inode_operations; | ||
923 | inode->i_fop = &simple_dir_operations; | 922 | inode->i_fop = &simple_dir_operations; |
924 | inode->i_op = &cgroup_dir_inode_operations; | 923 | inode->i_op = &cgroup_dir_inode_operations; |
925 | /* directories start off with i_nlink == 2 (for "." entry) */ | 924 | /* directories start off with i_nlink == 2 (for "." entry) */ |