static struct dentry *dev_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { #ifdef CONFIG_TMPFS return mount_single(fs_type, flags, data, shmem_fill_super); #else return mount_single(fs_type, flags, data, ramfs_fill_super); #endif }
struct dentry * sjfs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { printk("sjfs_mount -> mount_single\n"); // start up our link to the userspace app? // mount to a single place with no device return mount_single(fs_type, flags, data, sjfs_fill_super); }
static struct dentry *get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { return mount_single(fs_type, flags, data, fill_super); }
static struct dentry *hypfs_mount(struct file_system_type *fst, int flags, const char *devname, void *data) { return mount_single(fst, flags, data, hypfs_fill_super); }
static struct dentry *hrhfs_fs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *raw_data){ dprintk("Mounting hrhfs, dev_name is %s......\n", dev_name); send_by_netlink(netlinkfd, "Hello World", 12); return mount_single(fs_type, flags, raw_data, hrhfs_fill_super); }