• Tejun Heo's avatar
    sysfs, kernfs: add skeletons for kernfs · b8441ed2
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: linux-fsdevel@vger.kernel.org
    Cc: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>