From: alex Date: Sat, 2 Jul 2005 05:40:21 +0000 (+0000) Subject: - remove non-needed check X-Git-Tag: v1_7_100~1136 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0ee09f0f50c8cab21650a0ecd50cf99990faeab1;p=fs%2Flustre-release.git - remove non-needed check --- diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index c70a5f1..c329318 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -168,11 +168,8 @@ int ll_mdc_blocking_ast(struct ldlm_lock *lock, struct ldlm_lock_desc *desc, /* For lookup locks: Invalidate all dentries associated with this inode, for UPDATE locks - invalidate directory pages */ - if (inode == NULL) { - if (bits & MDS_INODELOCK_OPEN) - LDLM_ERROR(lock, "null inode"); + if (inode == NULL) break; - } if (lock->l_resource->lr_name.name[0] != id_fid(&li->lli_id) || lock->l_resource->lr_name.name[1] != id_group(&li->lli_id)) {