From f14bb05d1be5e136f28e7784d577443e0f8e85d4 Mon Sep 17 00:00:00 2001 From: tappro Date: Sat, 11 Nov 2006 08:32:58 +0000 Subject: [PATCH] disable lookup() in sanity checks for create temporary --- lustre/mdd/mdd_dir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/mdd/mdd_dir.c b/lustre/mdd/mdd_dir.c index 3545a84..cfe65d6 100644 --- a/lustre/mdd/mdd_dir.c +++ b/lustre/mdd/mdd_dir.c @@ -997,7 +997,8 @@ static int mdd_create_sanity_check(const struct lu_env *env, * In some cases this lookup is not needed - we know before that if name * exists or not. */ - if (lookup) { + /* XXX disable that lookup temporary */ + if (0 && lookup) { /* * Check if the name already exist, though it will be checked in * _index_insert also, for avoiding rolling back if exists -- 1.8.3.1