linux/fs/sysfs
Tejun Heo 2b25a62901 sysfs, kernfs: reorganize SYSFS_* constants
We want to add one more SYSFS_FLAG_* but we can't use the next higher
bit, 0x10000, as the flag field is 16bits wide.  The flags are
currently arranged weirdly - 8 bits are set aside for the type flags
when there are only three three used, the first flag starts at 0x1000
instead of 0x0100 and flag literals have 5 digits (20 bits) when only
4 digits can be used.

Rearrange them so that type bits are only the lowest four, flags start
at 0x0010 and similar flags are grouped.

This patch doesn't cause any behavior difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-29 17:48:14 -08:00
..
dir.c sysfs, kernfs: remove sysfs_add_one() 2013-11-29 17:48:14 -08:00
file.c sysfs, kernfs: introduce kernfs_notify() 2013-11-29 17:48:14 -08:00
group.c sysfs, kernfs: remove SYSFS_KOBJ_BIN_ATTR 2013-11-29 17:41:35 -08:00
inode.c sysfs, kernfs: remove SYSFS_KOBJ_BIN_ATTR 2013-11-29 17:41:35 -08:00
Kconfig
Makefile sysfs: merge regular and bin file handling 2013-10-05 17:27:40 -07:00
mount.c sysfs: drop kobj_ns_type handling, take #2 2013-11-27 13:01:03 -08:00
symlink.c sysfs, kernfs: remove sysfs_add_one() 2013-11-29 17:48:14 -08:00
sysfs.h sysfs, kernfs: reorganize SYSFS_* constants 2013-11-29 17:48:14 -08:00