SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)
MIT License
365 stars 87 forks source link

FuseFileInfo : Padding objects #53

Closed supermerill closed 6 years ago

supermerill commented 6 years ago

Hi

In open(), the FuseFileInfo contains some data in some Padding object. The Padding class in protected so i can't do anything with it without reflection, it's intended?

Also, how to use these objects?

Thanks. ps: i'm using your project for my distributed filesystem (https://github.com/supermerill/DistributedFs)

SerCeMan commented 6 years ago

Hi, yes, it's intended. Padding is only needed for proper alignment, and it shouldn't be used.