sysfs: Remove support for tagged directories with untagged members.
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 12 Oct 2011 22:01:34 +0000 (22:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 23:24:15 +0000 (19:24 -0400)
commit23396180a9770df2c6a694bbb689c12bdf792f94
treea943f113f6532b04fcef1673113493cf44ac2365
parent4c22400ab64d434a00ecbe0c655a16956c902aa8
sysfs: Remove support for tagged directories with untagged members.

Now that /sys/class/net/bonding_masters is implemented as a tagged sysfs
file we can remove support for untagged files in tagged directories.

This change removes any ambiguity of what a NULL namespace value
means.  A NULL namespace parameter after this patch means
that we are talking about an untagged sysfs dirent.

This makes the sysfs code much less prone to mistakes when during
maintenance.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/sysfs/dir.c
fs/sysfs/inode.c