From owner-svn-src-all@freebsd.org Wed Feb 7 10:32:17 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED5D9EF16AE for ; Wed, 7 Feb 2018 10:32:16 +0000 (UTC) (envelope-from oliver.pinter@balabit.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 29117821D3 for ; Wed, 7 Feb 2018 10:32:16 +0000 (UTC) (envelope-from oliver.pinter@balabit.com) Received: by mail-wm0-x229.google.com with SMTP id f71so2191100wmf.0 for ; Wed, 07 Feb 2018 02:32:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=balabit-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0XDgtKJ4CnIRWoG9ysnwRxWbI8ADOUIiBj4ZaaQM1cg=; b=K8U4t8julpNU65pIkkyZYGSfzHgMOrH3Uu9h0580BUePpG3n+z6VCZlMy3h+0AcUwX LNM7NgeU9LHHdxmSapia8tbzGOLLRqLOy2OvUljXvmzlGpgbv+6KOTl15YYfhf6eXX7L qCwLB53p5AdxNvDhZ1BX78vIKaIJHp/leqTwEFEQ7TYtd41e199cXodagrgETvFlnmkd 2lLjQw7iTsnJB5lui7F4NrHyapTlnwxqsKVuwnV6G6ebnFZasTr2qCiMhnJQV4B1Vn1b r7oVolyuoJOE4X96C+B/b2xCBuHQNESmD5V6rEIp26Hry31f5R2NxhhjQxHig9pfghjQ 2POw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0XDgtKJ4CnIRWoG9ysnwRxWbI8ADOUIiBj4ZaaQM1cg=; b=Nq56f9DWTECCTSgj5Ztak3yDenPdSZvN+cQAmD+p3OOfHtje8KeGHSOnBWYRxQcNLa sfeA6u2TfpMazwv1oLs8CkWmB0cTN/L5H9myzwHWdOxevDxkTv84KNOqh/VhmW+XIEhI WgCwteqK1yqzIEYEFrsCKCOkv53xcxUr5nFT4zHo5eObX67kQu/ZAONn8sqFoW4Qm/mQ 1jhrePRguo3hZht5KT8c2zL5DFZ8Zq+I0JrjRP95bllGzhyHbs5nmmrM4DKeBUNGTP+m 3aAdvV8EXSP8XSL7e6ozLwjgMy/eAm4u1ytPJXtIRhxUdu/Hia0qm9nJ2zwqItRbFiO5 RyQg== X-Gm-Message-State: APf1xPCp43Tgaa5oJzs/dwom0viwwkPvNke+nzkxkxvwECETdp+DLfLO dLXHPPgWlY/zEq3fQa7OEZ9D7i4JVM+NcMzvqkRsNgSpWMU= X-Google-Smtp-Source: AH8x224ZhgE8Fz655VfLTxA2qDvugbr//w6fu0uxgiiSGh3YYxHJVKnTQst3r6P2vT7audIH7yHklActardyX0c4xzo= X-Received: by 10.80.205.17 with SMTP id z17mr8032762edi.83.1517999534752; Wed, 07 Feb 2018 02:32:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.224.133 with HTTP; Wed, 7 Feb 2018 02:32:14 -0800 (PST) In-Reply-To: <201802061914.w16JEr5K047679@repo.freebsd.org> References: <201802061914.w16JEr5K047679@repo.freebsd.org> From: =?UTF-8?B?UGludMOpciwgT2xpdsOpcg==?= Date: Wed, 7 Feb 2018 11:32:14 +0100 Message-ID: Subject: Re: svn commit: r328946 - stable/10/sys/kern To: Kirk McKusick Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 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: Wed, 07 Feb 2018 10:32:17 -0000 On Tue, Feb 6, 2018 at 8:14 PM, Kirk McKusick wrote: > Author: mckusick > Date: Tue Feb 6 19:14:53 2018 > New Revision: 328946 > URL: https://svnweb.freebsd.org/changeset/base/328946 > > Log: > MFC of 328643. > > fix vn_printf listing of its union > > Modified: > stable/10/sys/kern/vfs_subr.c > Directory Properties: > stable/10/ (props changed) > > Modified: stable/10/sys/kern/vfs_subr.c > ============================================================ > ================== > --- stable/10/sys/kern/vfs_subr.c Tue Feb 6 19:14:15 2018 > (r328945) > +++ stable/10/sys/kern/vfs_subr.c Tue Feb 6 19:14:53 2018 > (r328946) > @@ -3020,8 +3020,25 @@ vn_printf(struct vnode *vp, const char *fmt, ...) > va_end(ap); > printf("%p: ", (void *)vp); > printf("tag %s, type %s\n", vp->v_tag, typename[vp->v_type]); > - printf(" usecount %d, writecount %d, refcount %d mountedhere > %p\n", > - vp->v_usecount, vp->v_writecount, vp->v_holdcnt, > vp->v_mountedhere); > + printf(" usecount %d, writecount %d, refcount %d", > + vp->v_usecount, vp->v_writecount, vp->v_holdcnt); > + switch (vp->v_type) { > + case VDIR: > + printf(" mountedhere %p\n", vp->v_mountedhere); > + break; > + case VCHR: > + printf(" rdev %p\n", vp->v_rdev); > + break; > + case VSOCK: > + printf(" socket %p\n", vp->v_unpcb); > + break; > Hi! Could you please cherry-pick r328961 here too? > + case VFIFO: > + printf(" fifoinfo %p\n", vp->v_fifoinfo); > + break; > + default: > + printf("\n"); > + break; > + } > buf[0] = '\0'; > buf[1] = '\0'; > if (vp->v_vflag & VV_ROOT) > _______________________________________________ > svn-src-stable-10@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 > To unsubscribe, send any mail to "svn-src-stable-10- > unsubscribe@freebsd.org" >