Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2815584pxj; Mon, 17 May 2021 10:23:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHMoasfyAzT/5RdFoRKIIldNdA/tEWUrQ3dn1YarjPC5am3ZWcDhm9Mp+1o2nFQBdVhnhG X-Received: by 2002:a05:6402:5201:: with SMTP id s1mr1397143edd.86.1621272205570; Mon, 17 May 2021 10:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621272205; cv=none; d=google.com; s=arc-20160816; b=I+5r9+MC3XdmVy/mMxQd6KjVI4LXtLM44VOcsrLrHFKaluE7TgHoCwOPGDknEBtjnr UyzCsS7v6fViq1/Cu1iSm30r63s3u4voTzfih1IYeK3R0rdVI6yGG9GwcaiDutkmapIX nhocRxHGEUtt8Wn2y0blYbG+FpXogJ8DX5Wgh1BxlWS6nCWN/AEDs/2DIc++gtjX0sQ5 xOkxdP1+uOjmgJlNsTSOpnp1ksGFFJ6UefXdZB6ZpiWyIXb/RKsrQyPIf2Mae06Gm7HN VpumBhOOgBqYIV3rOx8Z5lNchu1+QBt4ghUMAmnyE1kJWYp83yASVS9g70W1P7ID+uMr 5dCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=o3PHrt9OnWYQ4pmyri9gi+eqTsu2aHBAA4k1sqajL94=; b=UqDHPgw3RP9FhxmBrBQoxp1yR9F8ZEt69fTYAk1ley6ouRCCxo6QRFeabzBnnDMXJg nXaAWAYo7nAilqLGfol7a8cQDrifRYxLWZlxlToP0Cw1KUHASe8GYbYqpDHemlurU4yp 4Wr/VfWpaNZtZiZRcHlWAaRIGuSn3QX7k6kRhyrC1LYlFYgA9OIEmgBg5fwko4WQv/wm 5E70E02QvkifskYisTUOOsiUDpR0feOTBomprV+E0vUdFrUKaelQXKq744OF3nOxkULk OScj6KaXGK1aDkYLyuoqW28htltSdGiYJcJjXFBdHgs3jUAFdWu1N4sJNReUpLm+1Xdj b3tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b="TN/2E4qA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si14062812ejt.566.2021.05.17.10.23.01; Mon, 17 May 2021 10:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b="TN/2E4qA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236395AbhEQKdc (ORCPT + 99 others); Mon, 17 May 2021 06:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236341AbhEQKdb (ORCPT ); Mon, 17 May 2021 06:33:31 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9D91C061573 for ; Mon, 17 May 2021 03:32:13 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id a25so6213787edr.12 for ; Mon, 17 May 2021 03:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o3PHrt9OnWYQ4pmyri9gi+eqTsu2aHBAA4k1sqajL94=; b=TN/2E4qAf5H2eY04svEUzPhzsxXWz+hCFjJgCpFBGgHNszkEG8/B5Dj2n9wO8+XcnT n9C9jYWdyJ1kqd+24O26R0eRvXp/ijIH8zdZXyQN9LP3NJ59RDpCfAznlfpud+lmQ4Ov xZcY5M28IUUh9XeyiqNxU71RHPXHuV8jPY1WtVVNKIG4fAAC9JDqHZbcz40JUZG9L8J0 EtUGyjZ6Nmm48cjclUnagOpY+hS6UsQgF6WBabZx/j1FcDXt5n5GJbHWPQPSN96yXssF tg9vGbjGTR0sGxrDLC2zCnWsOsceV3NUXkothDpasExrMQ0Q+E3ObASfqs8sPEBLp0bp mSPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o3PHrt9OnWYQ4pmyri9gi+eqTsu2aHBAA4k1sqajL94=; b=j8OwNViE42pCffF2Zp7JXbzgmzRLo9bF7RAprwvzfgrSnizCg+Cniem+Cb/+eHG1hp GyzZrtYuQN8VdrH/8QeJ/N3GN9bQ1CNNhUZqQRgrpKtVMdRaDwpSFKlymYZFiaiV38QA QGQFboU5zfTpTu08ro9pbviRAhejb7EPwoc05XSRJJ5Ctv+fTjnxlA07s4wbcj28h7rJ 3x6tIXZOfDLNu9pnwQtbC6a3KJfKkDa483DMAH/8xwXVOqPhH7gYPMHSQVJVRyms124p m2oCJfmgVAoPsKKAAxcYQ1ELg9dW7+wktCwn0yWST0ndgXH8jSvWoCTB9PIp2RBJ8VEm Hotg== X-Gm-Message-State: AOAM533FPWjbIxH7OYy/NHX18y7mpFB2HkDljre3ABkz8TbM2Co0/cxW PMGJCromvqM/M4yToVPzKL/V+B3zSUbRiV77ZQNlhhCadg== X-Received: by 2002:aa7:cd55:: with SMTP id v21mr120416edw.344.1621247532679; Mon, 17 May 2021 03:32:12 -0700 (PDT) MIME-Version: 1.0 References: <20210517083557.172-1-xieyongji@bytedance.com> In-Reply-To: From: Yongji Xie Date: Mon, 17 May 2021 18:32:01 +0800 Message-ID: Subject: Re: Re: [PATCH] 9p/trans_virtio: Remove sysfs file on probe failure To: asmadeus@codewreck.org Cc: ericvh@gmail.com, lucho@ionkov.net, v9fs-developer@lists.sourceforge.net, linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 5:55 PM wrote: > > Xie Yongji wrote on Mon, May 17, 2021 at 04:35:57PM +0800: > > This ensures we don't leak the sysfs file if we failed to > > allocate chan->vc_wq during probe. > > Right. > I'll add a Fixed tag and take to -next shortly > Thanks!