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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B04D0C433EF for ; Sun, 6 Mar 2022 04:01:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232835AbiCFECK (ORCPT ); Sat, 5 Mar 2022 23:02:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbiCFECK (ORCPT ); Sat, 5 Mar 2022 23:02:10 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A161822BCA for ; Sat, 5 Mar 2022 20:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646539277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qUTyaD+bXmHvCDNuEe4Fclwb9x3jzMuMtNnahDSRCug=; b=g6vhLdJLpo+loQr9AGtiQuq5oDkr/v3rEViW3CF7huXOZkv7QxZjjIbMChXXe9AuhAPaQY UcxZftBSj78d4/7F3DiQh4wCIF4S8ORUDiBCXzwA5suhjtlTtTBx9QjGeNaaPPPv5NYFx7 RKXGHSG5GEUybUg7zhtOtsP0f3m9u/o= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-639-VrTIo70fP5-YVJc_Eg7hFQ-1; Sat, 05 Mar 2022 23:01:14 -0500 X-MC-Unique: VrTIo70fP5-YVJc_Eg7hFQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81000824FA6; Sun, 6 Mar 2022 04:01:13 +0000 (UTC) Received: from T590 (ovpn-8-17.pek2.redhat.com [10.72.8.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9FD4B5E483; Sun, 6 Mar 2022 04:01:09 +0000 (UTC) Date: Sun, 6 Mar 2022 12:01:04 +0800 From: Ming Lei To: Christoph Hellwig Cc: Jens Axboe , "Martin K. Petersen" , Bart Van Assche , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 08/14] sr: implement ->free_disk Message-ID: References: <20220304160331.399757-1-hch@lst.de> <20220304160331.399757-9-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220304160331.399757-9-hch@lst.de> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On Fri, Mar 04, 2022 at 05:03:25PM +0100, Christoph Hellwig wrote: > Simplify the refcounting and remove the need to clear disk->private_data > by implementing the ->free_disk method. > > Signed-off-by: Christoph Hellwig Reviewed-by: Ming Lei -- Ming