- namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     utsname: remove unused exit_utsname()

has been removed from the -mm tree.  Its filename is

     namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname.patch

This patch was dropped because it was folded into namespaces-utsname-implement-utsname-namespaces.patch

------------------------------------------------------
Subject: utsname: remove unused exit_utsname()
From: "Serge E. Hallyn" <serue@xxxxxxxxxx>


The exit_utsname() inline function hasn't been in use since we switched to
using nsproxies.  Remove it's definition.  Thanks to Cedric for noticing.

Signed-off-by: Serge Hallyn <serue@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/utsname.h |   12 ------------
 1 file changed, 12 deletions(-)

diff -puN include/linux/utsname.h~namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname include/linux/utsname.h
--- devel/include/linux/utsname.h~namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname	2006-06-07 15:35:46.000000000 -0700
+++ devel-akpm/include/linux/utsname.h	2006-06-07 15:35:46.000000000 -0700
@@ -54,15 +54,6 @@ static inline void put_uts_ns(struct uts
 {
 	kref_put(&ns->kref, free_uts_ns);
 }
-
-static inline void exit_utsname(struct task_struct *p)
-{
-	struct uts_namespace *uts_ns = p->nsproxy->uts_ns;
-	if (uts_ns) {
-		put_uts_ns(uts_ns);
-	}
-}
-
 #else
 static inline int copy_utsname(int flags, struct task_struct *tsk)
 {
@@ -71,9 +62,6 @@ static inline int copy_utsname(int flags
 static inline void put_uts_ns(struct uts_namespace *ns)
 {
 }
-static inline void exit_utsname(struct task_struct *p)
-{
-}
 #endif
 
 static inline struct new_utsname *utsname(void)
_

Patches currently in -mm which might be from serue@xxxxxxxxxx are

origin.patch
s390-move-var-declarations-behind-ifdef.patch
proc-sysctl-add-_proc_do_string-helper.patch
namespaces-add-nsproxy.patch
namespaces-add-nsproxy-dont-include-compileh.patch
namespaces-incorporate-fs-namespace-into-nsproxy.patch
namespaces-utsname-introduce-temporary-helpers.patch
namespaces-utsname-switch-to-using-uts-namespaces.patch
namespaces-utsname-use-init_utsname-when-appropriate.patch
namespaces-utsname-implement-utsname-namespaces.patch
namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname.patch
namespaces-utsname-sysctl-hack.patch
namespaces-utsname-sysctl-hack-cleanup.patch
namespaces-utsname-sysctl-hack-cleanup-2.patch
namespaces-utsname-sysctl-hack-cleanup-2-fix.patch
namespaces-utsname-remove-system_utsname.patch
namespaces-utsname-implement-clone_newuts-flag.patch
namespaces-utsname-implement-clone_newuts-flag-tidy.patch
uts-copy-nsproxy-only-when-needed.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux