Commit graph

12 commits

Author SHA1 Message Date
Szymon Walter 7dd27917bd add in_use method for Inode to check whether there are any hard links 2018-03-19 20:42:27 +01:00
Szymon Walter c798b2bdb2 add Debug impls 2018-03-19 20:38:32 +01:00
Szymon Walter eef8f86e8b add find_inode function do impl Inode 2018-03-19 20:25:35 +01:00
Szymon Walter fb1b5bdef5 fix unsafe keywords 2018-03-19 19:36:30 +01:00
Szymon Walter 959572eca1 mark Superblock::find unsafe; add test 2018-03-19 19:33:56 +01:00
Szymon Walter 0fc2c934d9 add offset argument to BlockGroupDescriptor::find_... 2018-03-19 19:33:20 +01:00
Szymon Walter e6acaad9a9 port BlockGroupDescriptor table finding to Buffer 2018-03-19 18:10:27 +01:00
Szymon Walter 55b23f4974 add Result return type to fn commit 2018-03-19 13:30:42 +01:00
Szymon Walter bae7f23b3e use &Buffer<u8> instead of &[u8] on Superblock::find 2018-03-19 08:39:23 +01:00
Szymon Walter 43e400ef08 fix again 2018-03-19 00:01:21 +01:00
Szymon Walter a9d5677c57 make find* functions unsafe 2018-03-18 20:38:48 +01:00
Szymon Walter 0c750fbdda move raw packed struct to sys module 2018-03-18 20:35:55 +01:00