linux/fs/sysfs/mount.c

// SPDX-License-Identifier: GPL-2.0
/*
 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
 *
 * Copyright (c) 2001-3 Patrick Mochel
 * Copyright (c) 2007 SUSE Linux Products GmbH
 * Copyright (c) 2007 Tejun Heo <[email protected]>
 *
 * Please see Documentation/filesystems/sysfs.rst for more information.
 */

#include <linux/fs.h>
#include <linux/magic.h>
#include <linux/mount.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/user_namespace.h>
#include <linux/fs_context.h>
#include <net/net_namespace.h>

#include "sysfs.h"

static struct kernfs_root *sysfs_root;
struct kernfs_node *sysfs_root_kn;

static int sysfs_get_tree(struct fs_context *fc)
{}

static void sysfs_fs_context_free(struct fs_context *fc)
{}

static const struct fs_context_operations sysfs_fs_context_ops =;

static int sysfs_init_fs_context(struct fs_context *fc)
{}

static void sysfs_kill_sb(struct super_block *sb)
{}

static struct file_system_type sysfs_fs_type =;

int __init sysfs_init(void)
{}