mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 22:43:23 +00:00
new:chardev的挂载
This commit is contained in:
@ -26,4 +26,12 @@ int mount_init();
|
||||
* @param new_dentry 待挂载的新的dentry(需使用vfs_alloc_dentry来分配)
|
||||
* @return int 错误码
|
||||
*/
|
||||
int do_mount(struct vfs_dir_entry_t *old_dentry, struct vfs_dir_entry_t *new_dentry);
|
||||
int do_mount(struct vfs_dir_entry_t *old_dentry, struct vfs_dir_entry_t *new_dentry);
|
||||
|
||||
/**
|
||||
* @brief 取消某个文件系统的挂载
|
||||
*
|
||||
* @param dentry 对应文件系统的根dentry
|
||||
* @return int 错误码
|
||||
*/
|
||||
int do_umount(struct vfs_dir_entry_t* dentry);
|
Reference in New Issue
Block a user