Commit graph

33 commits

Author SHA1 Message Date
0e9c19c836 mufs: fix syncing issue in write_dirent() 2017-06-16 16:25:58 +02:00
807959eb29 mufs: optimise memory footprint of write_dirent() 2017-06-16 15:57:00 +02:00
0484f082ee mufs: optimise memory footprint of read_dirent() 2017-06-16 15:52:12 +02:00
555e28e229 mufs: optimise memory footprint of find_dirent_size() 2017-06-16 15:46:55 +02:00
13918141c7 mufs: fix Valgrind warnings in mufs_abspath() by using calloc() instead of malloc() 2017-06-14 13:05:54 +02:00
59a71a4608 mufs: return tree as an argument in resolve_path() and free tree objects where necessary 2017-06-14 12:47:25 +02:00
a45be58d26 mufs: add subtree argument to mkpath() to create a path for an existing tree object 2017-06-14 12:18:07 +02:00
f2d4d60c01 mufs: add find_dirent_size() to determine how many bytes are used within a directory bin 2017-06-14 06:20:11 +02:00
45fe1e4b92 mufs: check if directory va does not exceed the file size in mufs_readdir() 2017-06-12 16:48:23 +02:00
14a93ab881 mufs: expose struct mufs_dir internally 2017-06-12 16:44:53 +02:00
6492a76d14 mufs: fix traversal issue in resolve_path() 2017-06-12 16:09:27 +02:00
d6fa387868 mufs: implement mufs_rmdir() 2017-06-12 15:35:15 +02:00
26b0ccb405 mufs: optionally record the type and file_size in resolve_path() 2017-06-12 13:48:43 +02:00
d9e11a083b mufs: only claim ownership of the tree object as the final step in resolve_path() 2017-06-12 13:42:16 +02:00
e3194229a5 mufs: free tree object if owned by struct mufs_dir in mufs_closedir() 2017-06-12 13:40:37 +02:00
9f05686a1f mufs: clean up code in resolve_path() 2017-06-12 13:39:31 +02:00
52b382b8b0 mufs: rename mufs_opendirent() to open_dirent() 2017-06-12 13:32:42 +02:00
71fb90a602 mufs: fix typo in read_dirent() 2017-06-12 13:26:52 +02:00
bd5120f8d0 mufs: use a buffer to operate on data in-place to reduce the amount of I/O in read_dirent()/write_dirent() 2017-06-12 13:15:28 +02:00
9ef95baac3 mufs: implement mufs_sync_tree() to sync tree objects to disk 2017-06-12 12:59:01 +02:00
ffc8669736 mufs: allow empty path in resolve_path() 2017-06-12 10:55:39 +02:00
a65cdbfedf mufs: generalise mufs_create() and mufs_mkdir() into mufs_mkpath() 2017-06-11 19:27:53 +02:00
845aba61ed mufs: rename mufs_read()/mufs_write() to mufs_tree_read()/mufs_tree_write() and expose functions 2017-06-11 17:34:35 +02:00
073c7f34be mufs: expose mufs_abspath() 2017-06-11 16:41:48 +02:00
11dd182ee7 mufs: rename mufs_opendir2() to mufs_opendirent() 2017-06-11 16:37:56 +02:00
58f6e87854 mufs: clean up calculation of the va of a tree object in read_dirent() 2017-06-11 16:36:08 +02:00
89ec3a94c0 mufs: embed struct mufs_dtree in struct mufs_dentry and clean up code 2017-06-11 16:31:43 +02:00
0bc9c6fc7a mufs: add mufs_abspath() to sanitise paths 2017-06-11 16:26:48 +02:00
d287d7616a mufs: fix an issue when determining the va of a tree object 2017-06-09 17:13:51 +02:00
3b25180038 mufs: properly determine the va of a tree object 2017-06-09 16:55:32 +02:00
f1e6f8f278 mufs: update path resolution code in mufs_mkdir() 2017-06-09 16:36:11 +02:00
0e9474d377 mufs: add support for path resolution 2017-06-09 16:29:37 +02:00
e18107d2d5 mufs: add support for directories 2017-06-09 14:38:31 +02:00