ext2: remove ext2_dir struct and funcs
This commit is contained in:
parent
746c907a43
commit
017758ea41
4 changed files with 12 additions and 39 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#ifndef _ERRNO_H_
|
||||
#define _ERRNO_H_
|
||||
|
||||
#define ENOMEM 1
|
||||
#define ENOENT 2
|
||||
#define EINVAL 3
|
||||
|
||||
#endif /* _ERRNO_H_ */
|
||||
|
|
|
|||
|
|
@ -121,15 +121,6 @@ struct ext2_dir_entry {
|
|||
char name[];
|
||||
} PACKED;
|
||||
|
||||
struct ext2_dir {
|
||||
struct ext2_dir_entry *entry;
|
||||
uint32_t inode;
|
||||
char *name;
|
||||
size_t name_len;
|
||||
|
||||
struct ext2_dir *next;
|
||||
};
|
||||
|
||||
struct ext2fs {
|
||||
struct ext2_superblock sb;
|
||||
struct block_device *bdev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue