Messages in this thread | | | Subject | [OFFTOPIC] f_pos ? | From | FabF <> | Date | Sun, 04 Jul 2004 21:18:05 +0200 |
| |
Hi,
I try to understand how readdir process works and I can't understand f_pos management :
Having in mind things work that way :
user : ls glibc : open (->sys_open) getdentries64 (->sys_getdentries64)
kernel: sys_getdentries64 ->vfs_readdir ->ext2_readdir
At that point, I don't understand why ext2_readdir is playing with filp->f_pos .... It should be 0 ...Why does it care about offset ?
Thanks in advance for your precious help, FabF
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |