more comments

This commit is contained in:
Fufu Fang 2021-06-02 02:20:33 +01:00
parent 3d55e451bc
commit f0b919a1e5
No known key found for this signature in database
GPG Key ID: 0F6BB5EF6F8BB729
1 changed files with 6 additions and 1 deletions

View File

@ -115,9 +115,14 @@ static int fs_open(const char *path, struct fuse_file_info *fi)
/**
* \brief read the directory indicated by the path
* \note releasedir() is not implemented, because I don't see why anybody want
* \note
* - releasedir() is not implemented, because I don't see why anybody want
* the LinkTables to be evicted from the memory during the runtime of this
* program. If you want to evict LinkTables, just unmount the filesystem.
* - There is no real need to associate the LinkTable with the fi of each
* directory data structure. If you want a deep level directory, you need to
* generate the LinkTables for previous level directories. We might
* as well maintain our own tree structure.
*/
static int fs_readdir(const char *path, void *buf, fuse_fill_dir_t dir_add,
off_t offset, struct fuse_file_info *fi)