project-machine / puzzlefs

Apache License 2.0
378 stars 18 forks source link

Replace OsString with Vec<u8> in the serialized metadata #86

Closed ariel-miculas closed 1 year ago

ariel-miculas commented 1 year ago

There's no reason to use OsString in the serialized metadata since we don't need a platform-native representation. So just use Vec, which is what OsStr uses under the hood for Unix systems. This simplifies the metadata decoding in the kernel.

Fixes #85