From: tappro Date: Sat, 11 Nov 2006 08:32:58 +0000 (+0000) Subject: disable lookup() in sanity checks for create temporary X-Git-Tag: v1_8_0_110~486^2~186 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f14bb05d1be5e136f28e7784d577443e0f8e85d4;p=fs%2Flustre-release.git disable lookup() in sanity checks for create temporary --- 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