Fixed problem with multiple mount/unmount for different devices. Additional check for structure length included into the code. Remove useless spaces. Added initialization for reserved memory.