public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL]: real_lookup flags
@ 2002-07-24 13:01 Maneesh Soni
  0 siblings, 0 replies; only message in thread
From: Maneesh Soni @ 2002-07-24 13:01 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-24 13:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 13:01 [TRIVIAL]: real_lookup flags Maneesh Soni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox