Revert "sysfs: drop kobj_ns_type handling"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Nov 2013 11:47:28 +0000 (20:47 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Nov 2013 11:47:28 +0000 (20:47 +0900)
commita1212d278c05ca0a38f5cbd7ae90ac2e367228a8
tree230f8bad53644f1bdd25e5c0fd892475742e7783
parent0b1e73ed225d8f7aeef96b74147215ca8b990dce
Revert "sysfs: drop kobj_ns_type handling"

This reverts commit cb26a311578e67769e92a39a0a63476533cb7e12.

It mysteriously causes NetworkManager to not find the wireless device
for me.  As far as I can tell, Tejun *meant* for this commit to not make
any semantic changes, but there clearly are some.  So revert it, taking
into account some of the calling convention changes that happened in
this area in subsequent commits.

Cc: Tejun Heo <tj@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/sysfs/dir.c
fs/sysfs/mount.c
fs/sysfs/symlink.c
fs/sysfs/sysfs.h
lib/kobject.c