yaffs direct: Modify lseek value checking