reg. vfs_read() call
I am trying to copy a file in my module (within the kernel space).
I have stored a file in "/etc/file1.conf"
For which i am using the following calls:
fd = filp_open("/etc/file1.conf",0,0);
But i am filed to read the file contents.
Can anybody please give some suggestions on this.
Thanks in advance.