[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I/O error copying file to jffs, no obvous problem in jffs log?




vmalik@xxxxxxx.com said:
> Ok, here it is. It seems that it fails inside "jffs_do_readpage_nolock(
> )" (with an error of -5 (EIO, I think)) which is called from
> jffs_prepare_write(). 

Aha. 1qresult is set to -EIO at the beginning, and never changed because
offset >= inode->i_size. Make it zero the page and return 0 in that situation.

--
dwmw2



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com