]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - lib/kobject.c
tg3: Update version to 3.112
[net-next-2.6.git] / lib / kobject.c
index b2c6d1f56e657a4817ccd6c13b70ba90a4b994f0..f07c57252e823278f6dd50b8ca84eb8e747f597f 100644 (file)
@@ -948,6 +948,17 @@ const void *kobj_ns_initial(enum kobj_ns_type type)
        return ns;
 }
 
+/*
+ * kobj_ns_exit - invalidate a namespace tag
+ *
+ * @type: the namespace type (i.e. KOBJ_NS_TYPE_NET)
+ * @ns: the actual namespace being invalidated
+ *
+ * This is called when a tag is no longer valid.  For instance,
+ * when a network namespace exits, it uses this helper to
+ * make sure no sb's sysfs_info points to the now-invalidated
+ * netns.
+ */
 void kobj_ns_exit(enum kobj_ns_type type, const void *ns)
 {
        sysfs_exit_ns(type, ns);