/** * Initializes the NFS functionality of libshare. */ void libshare_nfs_init(void) { nfs_fstype = register_fstype("nfs", &nfs_shareops); }
/* * Initializes the SMB functionality of libshare. */ void libshare_smb_init(void) { smb_fstype = register_fstype("smb", &smb_shareops); }
void init_rootfs() { struct fs_type rootfs_fs_type = {"rootfs", &rootfs_vfs_ops}; register_fstype(FSTYPE_ROOTFS, &rootfs_fs_type); }