OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 8/9] namespaces: utsname: remove system_utsname
[PATCH 8/9] namespaces: utsname: remove system_utsname [message #3245] Thu, 18 May 2006 15:50 Go to next message
serue is currently offline  serue
Messages: 750
Registered: February 2006
Senior Member
The system_utsname isn't needed now that kernel/sysctl.c is fixed.
Nuke it.

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>

---

include/linux/utsname.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

8b2614c2cad35f261afe2fde3fec8a393126e095
diff --git a/include/linux/utsname.h b/include/linux/utsname.h
index e6120e7..15dafa9 100644
--- a/include/linux/utsname.h
+++ b/include/linux/utsname.h
@@ -86,7 +86,5 @@ static inline struct new_utsname *init_u
return &init_uts_ns.name;
}

-#define system_utsname init_uts_ns.name
-
extern struct rw_semaphore uts_sem;
#endif
--
1.1.6
Re: [PATCH 8/9] namespaces: utsname: remove system_utsname [message #3254 is a reply to message #3245] Thu, 18 May 2006 23:03 Go to previous messageGo to next message
Paul Mackerras is currently offline  Paul Mackerras
Messages: 6
Registered: May 2006
Junior Member
Serge E. Hallyn writes:

> The system_utsname isn't needed now that kernel/sysctl.c is fixed.
> Nuke it.

You don't seem to have grepped for existing uses of system_utsname, of
which there are a bunch under arch/powerpc at least...

Paul.
Re: [PATCH 8/9] namespaces: utsname: remove system_utsname [message #3255 is a reply to message #3254] Thu, 18 May 2006 23:04 Go to previous message
Paul Mackerras is currently offline  Paul Mackerras
Messages: 6
Registered: May 2006
Junior Member
I wrote:

> > The system_utsname isn't needed now that kernel/sysctl.c is fixed.
> > Nuke it.
>
> You don't seem to have grepped for existing uses of system_utsname, of
> which there are a bunch under arch/powerpc at least...

Ignore me, I saw this patch before the others in your series...

Paul.
Previous Topic: Ext3 bug?
Next Topic: [Fwd: [PATCH 1/1] scsi : megaraid_{mm, mbox}: a fix on 64-bit DMA capability check]
Goto Forum:
  


Current Time: Fri Dec 27 17:37:32 GMT 2024

Total time taken to generate the page: 0.04696 seconds