July 19, 2013
7:55 a.m.
Hi, On Fri, Jul 19, 2013 at 12:53 PM, Saket Sinha <saket.sinha89@gmail.com> wrote:
Normally, we DON'T do any high level IOs from Kernel space (file creation/reading, and so on). But here in my driver I am stacking FS drivers, I can't avoid this. This is partly because Linux kernel can't handle FS stacking (this wouldn't be an issue for Windows, for instance, which supports stacking),
You can even use filp_open(), vfs_read(), vfs_write() if sys_* is not available https://github.com/prashants/km/blob/master/filerw/filerw.c Regards.