Re: How to load a file from kernel?
"Ferenc Havasi" <[email protected]> Fri, 1 Oct 2004 13:37:16 +0200 (CEST)
| Newsgroups | gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
> Almost everything works but I've problem at loading the model files. > I know the inode number of the file, I can "iget" it and see its > attributes, allocate memory for it. It's OK. But if I try to read the > content of the file by jffs2_read_inode_range() there will be a lots of > > Sep 27 22:07:45 kpax vmunix: bad: scheduling while atomic! I still don't know the reason of that error messages above, but I find a better way to load model file at mount time. Now I do it "by hand", using ino_cache, and a way similar to one is described in jffs2_read_dnode(). Regards, Ferenc To unsubscribe from this list: send the line "unsubscribe jffs-dev" in the body of a message to [email protected]