@@ -39,7 +39,7 @@ void devfs_init(void);
3939 * @param private Private data to store in the inode of the new directory, can be `NULL`.
4040 * @return On success, the new devfs directory. On failure, `NULL` and `errno` is set.
4141 */
42- dentry_t * devfs_dir_new (dentry_t * parent , const char * name , const inode_ops_t * inodeOps , void * private );
42+ dentry_t * devfs_dir_new (dentry_t * parent , const char * name , const inode_ops_t * inodeOps , void * data );
4343
4444/**
4545 * @brief Create a new file inside a mounted devfs instance.
@@ -52,7 +52,7 @@ dentry_t* devfs_dir_new(dentry_t* parent, const char* name, const inode_ops_t* i
5252 * @return On success, the new devfs file. On failure, `NULL` and `errno` is set.
5353 */
5454dentry_t * devfs_file_new (dentry_t * parent , const char * name , const inode_ops_t * inodeOps , const file_ops_t * fileOps ,
55- void * private );
55+ void * data );
5656
5757/**
5858 * @brief Create a new symbolic link inside a mounted devfs instance.
@@ -63,7 +63,7 @@ dentry_t* devfs_file_new(dentry_t* parent, const char* name, const inode_ops_t*
6363 * @param private Private data to store in the inode of the new symbolic link, can be `NULL`.
6464 * @return On success, the new devfs symbolic link. On failure, `NULL` and `errno` is set.
6565 */
66- dentry_t * devfs_symlink_new (dentry_t * parent , const char * name , const inode_ops_t * inodeOps , void * private );
66+ dentry_t * devfs_symlink_new (dentry_t * parent , const char * name , const inode_ops_t * inodeOps , void * data );
6767
6868/**
6969 * @brief Descriptor for batch file creation.
@@ -74,7 +74,7 @@ typedef struct devfs_file_desc
7474 const char * name ; ///< Name of the file, `NULL` marks end of array.
7575 const inode_ops_t * inodeOps ; ///< Inode operations, can be `NULL`.
7676 const file_ops_t * fileOps ; ///< File operations, can be `NULL`.
77- void * private ; ///< Private data to store in the inode of the file.
77+ void * data ; ///< Private data to store in the inode of the file.
7878} devfs_file_desc_t ;
7979
8080/**
0 commit comments