mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Timur Tabi <ttabi@interactivesi.com>
To: linux-kernel@vger.kernel.org
Subject: Re: What happened to lookup_dentry?
Date: Tue, 19 Jun 2001 11:12:37 -0500	[thread overview]
Message-ID: <g_XL8.A.V8G.4n3L7@dinero.interactivesi.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0106181940400.18769-100000@weyl.math.psu.edu>
In-Reply-To: <PD1Rx.A.X-F.-YnL7@dinero.interactivesi.com>

** Reply to message from Alexander Viro <viro@math.psu.edu> on Mon, 18 Jun 2001
19:45:11 -0400 (EDT)


> It depends on what kind of use 2.2 code had for it. There are several
> situations in which it used to be called and proper replacements depend
> on the context. Details, please... (alternatively, send an URL of patch
> and I'll see what to do with the thing)

Well, I didn't write the driver that I'm trying to port, so it's a little
difficult.  The code in question is:

struct dentry *	de = lookup_dentry(zfcdb[i].fullname, NULL, LOOKUP_FOLLOW);
if (IS_ERR(de))
	continue;
if (de != zfcdb[i].dentry) 
{
	print("zfc: dentry changed for %s\n", zfcdb[i].fullname);
	zfc_file_init(&zfcdb[i], de);
}

So it appears it's just checking to see if the dentry for a particular file has
changed.


-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com


  parent reply	other threads:[~2001-06-19 16:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-18 21:44 Timur Tabi
2001-06-18 23:45 ` Alexander Viro
2001-06-19 16:12 ` Timur Tabi [this message]
2001-06-22 17:00   ` Alexander Viro

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=g_XL8.A.V8G.4n3L7@dinero.interactivesi.com \
    --to=ttabi@interactivesi.com \
    --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®