From: pschwan Date: Thu, 8 Aug 2002 11:22:35 +0000 (+0000) Subject: Fix stupid deadlock-causing mistake in llite file locking callback X-Git-Tag: 0.5.5~186 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=8ec99f22c437d25b1efb889d9a3a7f7541373090;p=fs%2Flustre-release.git Fix stupid deadlock-causing mistake in llite file locking callback --- diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 19ff845..caea04b 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -230,11 +230,6 @@ static int ll_lock_callback(struct lustre_handle *lockh, struct inode *inode = data; ENTRY; - if (new == NULL) { - /* Completion AST. Do nothing. */ - RETURN(0); - } - if (data_len != sizeof(struct inode)) LBUG();