Beginning to refactor inode code. Also corrected the return value for file_getblock