LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 7/7] cgroup: remove dead code in cgroup_get_rootdir()
@ 2008-02-18 5:50 Li Zefan
2008-02-21 0:47 ` Paul Menage
0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2008-02-18 5:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: Paul Menage, KAMEZAWA Hiroyuki, LKML, containers
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
kernel/cgroup.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 71cf961..879a056 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -926,7 +926,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) */
--
1.5.4.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 7/7] cgroup: remove dead code in cgroup_get_rootdir()
2008-02-18 5:50 [PATCH 7/7] cgroup: remove dead code in cgroup_get_rootdir() Li Zefan
@ 2008-02-21 0:47 ` Paul Menage
0 siblings, 0 replies; 2+ messages in thread
From: Paul Menage @ 2008-02-21 0:47 UTC (permalink / raw)
To: Li Zefan; +Cc: Andrew Morton, KAMEZAWA Hiroyuki, LKML, containers
2008/2/17 Li Zefan <lizf@cn.fujitsu.com>:
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
> ---
> kernel/cgroup.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/cgroup.c b/kernel/cgroup.c
> index 71cf961..879a056 100644
> --- a/kernel/cgroup.c
> +++ b/kernel/cgroup.c
> @@ -926,7 +926,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) */
> --
> 1.5.4.rc3
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-21 0:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-18 5:50 [PATCH 7/7] cgroup: remove dead code in cgroup_get_rootdir() Li Zefan
2008-02-21 0:47 ` Paul Menage
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).