From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maneesh Soni Subject: [TRIVIAL]: real_lookup flags Date: Wed, 24 Jul 2002 18:31:29 +0530 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20020724183129.G10996@in.ibm.com> Reply-To: maneesh@in.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel Return-path: To: Al Viro Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org 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