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 <
ext2.h
>
6
14
int
ext2_superblock_rewrite
(
struct
ext2
*desc)
15
{
16
return
ext2_io
(desc, 1, 1024,
sizeof
(
struct
ext2_superblock
), desc->
superblock
);
17
}
ext2_io
int ext2_io(struct ext2 *desc, int write, off_t off, size_t size, void *buf)
Reads or writes bytes of the filesystem's disk, all of them.
Definition
block.c:19
ext2.h
ext2_superblock_rewrite
int ext2_superblock_rewrite(struct ext2 *desc)
Writes the in-memory copy of the superblock back to the disk, after a change to its counts of free bl...
Definition
super.c:14
ext2_superblock
The superblock, as it is on the disk, 1024 bytes into it.
Definition
ext2.h:34
ext2
A mounted ext2 filesystem.
Definition
ext2.h:168
ext2::superblock
struct ext2_superblock * superblock
Definition
ext2.h:170
kernel
fs
ext2
super.c
Generated by
1.18.0