lookup
Magnus Ahltorp (Magnus.Ahltorp@abc.se)
Mon, 4 May 1998 20:59:47 +0200 (MET DST)
I'm having difficulties with the semantics of the real_lookup routine in
fs/iname.c. I have a lookup in my filesystem that posts a message on a
message queue, and the lookup gets handled by another part of the
filesystem. This other part adds the dentry to the dcache with d_add and
wakes up the lookup. lookup then does a d_lookup to get the dentry.
The problem is that the lookup routine has to fill in the dentry that
real_lookup provided. How do I get the information over from my own
dentry? memcpy is not very good, since it make pointers point to the wrong
places.
Magnus Ahltorp
map@stacken.kth.se
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu