All of lore.kernel.org
 help / color / mirror / Atom feed
* [OFFTOPIC] f_pos ?
@ 2004-07-04 19:18 FabF
  2004-07-06 19:58 ` Maneesh Soni
  0 siblings, 1 reply; 4+ messages in thread
From: FabF @ 2004-07-04 19:18 UTC (permalink / raw)
  To: lkml

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-06 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-04 19:18 [OFFTOPIC] f_pos ? FabF
2004-07-06 19:58 ` Maneesh Soni
2004-07-06 20:38   ` [OFFTOPIC] f_pos ? [PATCH 2.6.7-mm6] ext2_readdir commenting FabF
2004-07-06 20:51   ` [OFFTOPIC] f_pos ? FabF

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.