[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to load a file from kernel?
> 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
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to firstname.lastname@example.org