mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: linux-kernel@vger.kernel.org
Subject: "fs proxy" module - how to turn path into dev+inode
Date: Wed, 29 Sep 2004 00:51:47 +0100	[thread overview]
Message-ID: <20040928235147.GE6287@lkcl.net> (raw)

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 />


                 reply	other threads:[~2004-09-28 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040928235147.GE6287@lkcl.net \
    --to=lkcl@lkcl.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®