"fs proxy" module - how to turn path into dev+inode

From: Luke Kenneth Casson Leighton (lkcl_at_lkcl.net)
Date: 09/29/04

  • Next message: Herbert Poetzl: "Re: [PATCH] oom_pardon, aka don't kill my xlock"
    Date:	Wed, 29 Sep 2004 00:51:47 +0100
    To: linux-kernel@vger.kernel.org
    
    

    hi,

    for various reasons i am going to have to start on an fsproxy module.

    if i use d_path() to get the full pathname of an inode in the fsproxy
    filesystem, and then i prepend that path with the proxy prefix which
    specifies the _real_ location:

    how do i then turn that full pathname _back_ into a vfsmount and a
    dentry?

    how about.... user_path_walk() used in fs/open.c? is that it?

    *glurk*. 7 types of chaos...

    -- 
    --
    Truth, honesty and respect are rare commodities that all spring from
    the same well: Love.  If you love yourself and everyone and everything
    around you, funnily and coincidentally enough, life gets a lot better.
    --
    <a href="http://lkcl.net">      lkcl.net      </a> <br />
    <a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
    -
    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/
    

  • Next message: Herbert Poetzl: "Re: [PATCH] oom_pardon, aka don't kill my xlock"

    Relevant Pages