From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 806DEC4338F for ; Mon, 23 Aug 2021 08:37:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4AB1061248 for ; Mon, 23 Aug 2021 08:37:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4AB1061248 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tPHeX4PQpNjRdtH7yw7pfQRxomvDxjgVFQ9PdhkeIXc=; b=pFHWwIjv1z3O+L MBzPhSc9W5/ZfgtJhZlUXgASlK6V8kDLr7Eq9Sad4cHIIz6Gwzg4Ua8E780K04k4jBU3vUQh3tzZP RBdnsLN4xVK0HhX5jgk7XuXITM04B26R7+HkvpVLXe5CPDy4rDtxegBpPweHCTzv152koiBERFIYU CSsPtc6zMvugQnmVUUOe9qCH33C0sEIYK6aoe7OZLCPrAmBWSsb4iQav4W2qEVJyL+2wQUY1ukAFW A69Sxv+D83Gr33uoJFMEfmbTeSyL9Sh4xp3BKgoWMBax8+bZioDB2OAhYUkyfv6U2y1hq7zYUIB3Q m0RQ4p3NG9BSVuQfyy/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI5Rm-00FxF8-MD; Mon, 23 Aug 2021 08:36:46 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI5Ou-00Fw4y-Ms for linux-mtd@lists.infradead.org; Mon, 23 Aug 2021 08:33:50 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 9513C10000A; Mon, 23 Aug 2021 08:33:46 +0000 (UTC) From: Miquel Raynal To: Christoph Hellwig , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: Guenter Roeck , linux-mtd@lists.infradead.org Subject: Re: [PATCH 1/8] mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release} Date: Mon, 23 Aug 2021 10:33:46 +0200 Message-Id: <20210823083346.9511-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210823073359.705281-2-hch@lst.de> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'799ae31c58ae766a4ce9b198658b286ecaf2c575' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210823_013348_925689_4560D5F8 X-CRM114-Status: UNSURE ( 7.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Mon, 2021-08-23 at 07:33:52 UTC, Christoph Hellwig wrote: > There is nothing that this protects against except for slightly reducing > the window when new opens can appear just before calling del_gendisk. > > Reported-by: Guenter Roeck > Signed-off-by: Christoph Hellwig > Tested-by: Guenter Roeck Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/