sysfs, kernfs: add skeletons for kernfs
authorTejun Heo <tj@kernel.org>
Sun, 24 Nov 2013 14:54:58 +0000 (09:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Nov 2013 21:28:24 +0000 (13:28 -0800)
commitb8441ed279bff09a0a5ddeacf8f4087d2fb424ca
tree2ed104d72ece4726d8f6fe2a8ebdd3c7a37bba11
parentae2108ad32f5ca55e9895d5597e6552be1607569
sysfs, kernfs: add skeletons for kernfs

Core sysfs implementation will be separated into kernfs so that it can
be used by other non-kobject users.

This patch creates fs/kernfs/ directory and makes boilerplate changes.
kernfs interface will be directly based on sysfs_dirent and its
forward declaration is moved to include/linux/kernfs.h which is
included from include/linux/sysfs.h.  sysfs core implementation will
be gradually separated out and moved to kernfs.

This patch doesn't introduce any functional changes.

v2: mount.c added.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: linux-fsdevel@vger.kernel.org
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/Makefile
fs/kernfs/Makefile [new file with mode: 0644]
fs/kernfs/dir.c [new file with mode: 0644]
fs/kernfs/file.c [new file with mode: 0644]
fs/kernfs/inode.c [new file with mode: 0644]
fs/kernfs/mount.c [new file with mode: 0644]
fs/kernfs/symlink.c [new file with mode: 0644]
include/linux/kernfs.h [new file with mode: 0644]
include/linux/sysfs.h