public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: Maneesh Soni <maneesh@in.ibm.com>
To: Al Viro <viro@math.psu.edu>
Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: [TRIVIAL]: real_lookup flags
Date: Wed, 24 Jul 2002 18:31:29 +0530	[thread overview]
Message-ID: <20020724183129.G10996@in.ibm.com> (raw)

Hi Al,

do_lookup always calls real_lookup with LOOKUP_CONTINUE instead of "flags"
passed to it. Please consider following patch correcting that.

Thanks
Maneesh


diff -urN linux-2.5.27-base/fs/namei.c linux-2.5.27-LC/fs/namei.c
--- linux-2.5.27-base/fs/namei.c	Sun Jul 21 00:41:13 2002
+++ linux-2.5.27-LC/fs/namei.c	Wed Jul 24 17:42:00 2002
@@ -515,7 +515,7 @@
 	unlock_nd(nd);
 
 need_lookup:
-	dentry = real_lookup(nd->dentry, name, LOOKUP_CONTINUE);
+	dentry = real_lookup(nd->dentry, name, flags);
 	if (IS_ERR(dentry))
 		goto fail;
 	mntget(mnt);


-- 
Maneesh Soni
IBM Linux Technology Center, 
IBM India Software Lab, Bangalore.
Phone: +91-80-5044999 email: maneesh@in.ibm.com
http://lse.sourceforge.net/locking/rcupdate.html

                 reply	other threads:[~2002-07-24 13:01 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=20020724183129.G10996@in.ibm.com \
    --to=maneesh@in.ibm.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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