AquilaOS documentation
How it works, and its code
Toggle main menu visibility
Loading...
Searching...
No Matches
super.c
Go to the documentation of this file.
1
4
5
#include <
minix.h
>
6
12
void
minix_superblock_rewrite
(
struct
minix
*desc)
13
{
14
vfs_write
(desc->
supernode
, 1024,
sizeof
(
struct
minix_superblock
), desc->
superblock
);
15
}
minix.h
minix_superblock_rewrite
void minix_superblock_rewrite(struct minix *desc)
Writes the in-memory copy of the superblock back to the disk.
Definition
super.c:12
minix_superblock
The superblock of minix v1 and v2, as it is on the disk.
Definition
minix.h:32
minix
A mounted minix filesystem.
Definition
minix.h:82
minix::superblock
struct minix_superblock * superblock
Definition
minix.h:84
minix::supernode
struct vnode * supernode
Definition
minix.h:83
vfs_write
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
kernel
fs
minix
super.c
Generated by
1.18.0