mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-20 05:56:32 +00:00
new: rootfs
This commit is contained in:
@ -47,7 +47,7 @@ struct vfs_dir_entry_operations_t;
|
||||
struct vfs_dir_entry_t
|
||||
{
|
||||
char *name;
|
||||
int name_length;
|
||||
int name_length; // 名字的长度(不包含字符串末尾的'\0')
|
||||
uint32_t d_flags; // dentry标志位
|
||||
struct List child_node_list;
|
||||
struct List subdirs_list;
|
||||
@ -266,4 +266,4 @@ int64_t vfs_mkdir(const char *path, mode_t mode, bool from_userland);
|
||||
* @param from_userland 请求是否来自用户态
|
||||
* @return int64_t 错误码
|
||||
*/
|
||||
int64_t vfs_rmdir(const char *path, bool from_userland);
|
||||
int64_t vfs_rmdir(const char *path, bool from_userland);
|
||||
|
Reference in New Issue
Block a user