projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68db38f
)
cgroup: remove dead code in cgroup_get_rootdir()
author
Li Zefan
<lizf@cn.fujitsu.com>
Sat, 23 Feb 2008 23:24:12 +0000
(15:24 -0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/cgroup.c
b/kernel/cgroup.c
index 2aa408201aa5d8a9f792bceaa586ddbd53cb6a7d..d8abe996e009702663d9769714f6428f88aac641 100644
(file)
--- 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) */