PatchworkOS
Loading...
Searching...
No Matches
superblock.c File Reference
#include <kernel/fs/superblock.h>
#include <kernel/fs/vfs.h>
#include <kernel/mem/pmm.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

static void superblock_free (superblock_t *superblock)
 
superblock_tsuperblock_new (const filesystem_t *fs, const char *deviceName, const superblock_ops_t *ops, const dentry_ops_t *dentryOps)
 Create a new superblock.
 
void superblock_inc_mount_count (superblock_t *superblock)
 Increment the mount count of a superblock.
 
void superblock_dec_mount_count (superblock_t *superblock)
 Decrement the mount count of a superblock.
 

Function Documentation

◆ superblock_free()

static void superblock_free ( superblock_t superblock)
static