string: add lock to strtok

This commit is contained in:
Michael Shaw 2023-10-18 20:51:49 -04:00
commit 3806d53237
4 changed files with 40 additions and 1 deletions

View file

@ -121,6 +121,11 @@ struct ext2_dir_entry {
char name[];
} PACKED;
struct ext2_dir {
struct ext2_dir_entry *entry;
struct ext2_dir *next;
};
struct ext2fs {
struct ext2_superblock sb;
struct block_device *bdev;