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.
(This patch is on 2.6.17-rc5-mm3)
Signed-off-by: Serge Hallyn <[email protected]>
---
include/linux/utsname.h | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
fa0b64ea95feed3a62a94f807aba6c94f7f70d4b
diff --git a/include/linux/utsname.h b/include/linux/utsname.h
index 0d500fe..bffb379 100644
--- a/include/linux/utsname.h
+++ b/include/linux/utsname.h
@@ -56,15 +56,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 unshare_utsname(unsigned long unshare_flags,
struct uts_namespace **new_uts)
@@ -78,9 +69,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)
--
1.1.6
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]