AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
super.c
Go to the documentation of this file.
1
4
5#include <minix.h>
6
13{
14 vfs_write(desc->supernode, 1024, sizeof(struct minix_superblock), desc->superblock);
15}
void minix_superblock_rewrite(struct minix *desc)
Writes the in-memory copy of the superblock back to the disk.
Definition super.c:12
The superblock of minix v1 and v2, as it is on the disk.
Definition minix.h:32
A mounted minix filesystem.
Definition minix.h:82
struct minix_superblock * superblock
Definition minix.h:84
struct vnode * supernode
Definition minix.h:83
ssize_t vfs_write(struct vnode *vnode, off_t off, size_t size, void *buf)
Writes to a vnode from a kernel buffer.
Definition write.c:60