Re: string to inode conversion
From: Bob Copeland
Date: Sun Jan 15 2006 - 15:27:35 EST
On 1/15/06, pablo.ferlop@xxxxxxxxx <pablo.ferlop@xxxxxxxxx> wrote:
> Basically I'm trying to learn how sys_open() goes from char *filename to
> a struct inode. I know (or think) that sys_open() doesn't actually use a
> struct inode, but I wonder how that would go.
Look at ext2_lookup in fs/ext2/namei.c for example. It depends on the
filesystem.
-Bob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/