From owner-cvs-src-old@FreeBSD.ORG Sun May 24 12:28:52 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DF76106568D for ; Sun, 24 May 2009 12:28:52 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 31A0A8FC18 for ; Sun, 24 May 2009 12:28:52 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4OCSqkP029335 for ; Sun, 24 May 2009 12:28:52 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4OCSqTd029334 for cvs-src-old@freebsd.org; Sun, 24 May 2009 12:28:52 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200905241228.n4OCSqTd029334@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sun, 24 May 2009 12:28:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_lockf.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2009 12:28:52 -0000 kib 2009-05-24 12:28:38 UTC FreeBSD src repository Modified files: sys/kern kern_lockf.c Log: SVN rev 192681 on 2009-05-24 12:28:38Z by kib Replace the while statement with the if for clarity. The loop body cannot be executed more then once. Reviewed by: dfr Tested by: pho MFC after: 1 month Revision Changes Path 1.68 +1 -1 src/sys/kern/kern_lockf.c