From: adilger Date: Wed, 14 Aug 2002 05:58:21 +0000 (+0000) Subject: Fix minor patch breakage. X-Git-Tag: 0.5.5~155 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0c22725e16f04f458e59c22d515ca0cf2f9db407;p=fs%2Flustre-release.git Fix minor patch breakage. --- diff --git a/lustre/patches/patch-2.4.18 b/lustre/patches/patch-2.4.18 index c3d15eb..efeddfb 100644 --- a/lustre/patches/patch-2.4.18 +++ b/lustre/patches/patch-2.4.18 @@ -679,24 +679,6 @@ /* SMP-safe */ /* returns 1 if everything is done */ static int __emul_lookup_dentry(const char *name, struct nameidata *nd) -@@ -707,6 +738,17 @@ - } - - /* SMP-safe */ -+int path_lookup_it(const char *path, unsigned flags, struct nameidata *nd, -+ struct lookup_intent *it) -+{ -+ int error = 0; -+ if (path_init(path, flags, nd)) -+ error = path_walk_it(path, nd, it); -+ return error; -+} -+ -+ -+/* SMP-safe */ - int path_lookup(const char *path, unsigned flags, struct nameidata *nd) - { - int error = 0; @@ -742,7 +786,8 @@ * needs parent already locked. Doesn't follow mounts. * SMP-safe.