From owner-svn-src-all@freebsd.org Mon Oct 16 16:22:46 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AFAEE3E778; Mon, 16 Oct 2017 16:22:46 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAB17224E; Mon, 16 Oct 2017 16:22:45 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: by mail-qt0-f179.google.com with SMTP id z19so32819091qtg.11; Mon, 16 Oct 2017 09:22:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=gNL5OvhChmGOQt9+wjFkUD0JXpMq4ovjpRjqM/y6r0M=; b=SkafeKrGhY2Xo1IUNS9knayS3PT+eU6vOy+CAuth2AyR8shxC+GgWTThurHzD1WKhQ tdr4v2YFS4BOGX4Bozz7YMWA7dw1/ME8d23dVwP5q7hmOKzbk62CLGCMz3eAzuAxdqhS 3cuVLyODbS8ECcJgXSFbJrJrUj1Uxjn37EPV+I0dzJfuD6BR4M+4wn67P7LA1jEOPp6e 0Smv8RivyQwA2vrtFGIKQ+1HSHx729kxfg+JQ2s7pI8SklDf8nDCpNHmhHyz/KcRQau+ yI1i1Wc2sc8dIV8PMw0Adp0mPxp5MQqZwZ7bcL7qh3U/09ie1lIdfzMezmsaXrOLz7Uq Vuyg== X-Gm-Message-State: AMCzsaV9VtalfaZ7tsYfSK8+MX0hA451Y8P+EqaTjZcPTAgF987kc5+h lWLy3qxUIVbWpvSUwjDfg6mXE0ad X-Google-Smtp-Source: AOwi7QAY17xCGJxSMejSH2dvMsNcvOjz5tcLovsOBjZ/Nc6KcsWN7qOuKJxjewJUULlBiMedwniIww== X-Received: by 10.200.50.113 with SMTP id y46mr15995281qta.315.1508170958425; Mon, 16 Oct 2017 09:22:38 -0700 (PDT) Received: from [192.168.2.122] (174-24-242-218.tukw.qwest.net. [174.24.242.218]) by smtp.gmail.com with ESMTPSA id g47sm5033110qtk.37.2017.10.16.09.22.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 09:22:37 -0700 (PDT) Subject: Re: svn commit: r324666 - head/sys/kern From: Matt Joras To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201710161614.v9GGEoUN094644@repo.freebsd.org> Message-ID: Date: Mon, 16 Oct 2017 09:22:35 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <201710161614.v9GGEoUN094644@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 16:22:46 -0000 On 10/16/2017 09:14, Matt Joras wrote: > Author: mjoras > Date: Mon Oct 16 16:14:50 2017 > New Revision: 324666 > URL: https://svnweb.freebsd.org/changeset/base/324666 > > Log: > Properly reset the fields in clean_unrhdr. > > In r324542 I neglected to reset the first and last fields of struct > unrhdr. This causes a tmpfs to fail the unr(9) consistency checks with > DIAGNOSTIC on. Fix this by resetting the fields by calling init_unrhdr. > While here, change a loop to use TAILQ_FOREACH_SAFE since it is more > readable and equally fast. > > Reported by: David Wolfskill > Approved by: rstone (mentor) > Sponsored by: Dell EMC Isilon > Differential Revision: https://reviews.freebsd.org/D12662