]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sysfs: Comment sysfs directory tagging logic
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 3 May 2010 21:23:15 +0000 (16:23 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:31 +0000 (09:37 -0700)
commitbe867b194a3ae3c680c29521287ae49b4d44d420
tree1b3ad125d02603c6a9cc4bb8ae518695d7c6a66d
parentf349cf34731c3b3eddbcd63cb04489aee2c405bd
sysfs: Comment sysfs directory tagging logic

Add some in-line comments to explain the new infrastructure, which
was introduced to support sysfs directory tagging with namespaces.
I think an overall description someplace might be good too, but it
didn't really seem to fit into Documentation/filesystems/sysfs.txt,
which appears more geared toward users, rather than maintainers, of
sysfs.

(Tejun, please let me know if I can make anything clearer or failed
altogether to comment something that should be commented.)

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
fs/sysfs/sysfs.h
include/linux/kobject.h
include/linux/sysfs.h
lib/kobject.c