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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02A84C7EE29 for ; Wed, 7 Jun 2023 12:19:45 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1q6s8f-00080L-AG; Wed, 07 Jun 2023 12:19:45 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1q6s8d-00080D-LZ for linux-f2fs-devel@lists.sourceforge.net; Wed, 07 Jun 2023 12:19:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hIcAmuwwomlFKuWyJzT2ZczfUfDqBv+dd3ElI46NTH0=; b=ERd+1raQfp09PSimSYzmiOcc9l RWHL9sQxBr17zqiH6LSUL0B9at2dHCTqUP+fnW5GFi3ywe1OuikzgYG1HuyglS1TCM0sstDnoxOBG ZAHDbkakyaSnkOg2TFYsQERg8RNZkHFmXIHmhG3RgRDL1uVDe15VCE0wpXiLVuUkrrBs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=hIcAmuwwomlFKuWyJzT2ZczfUfDqBv+dd3ElI46NTH0=; b=i5OZQSqYLxtJsncSLQOBTO9nO/ ogZJdoS2yGtM8rvZBYWW69Vu/RsONucBf4x6UR2034wNcj50nVo9ZBzPsA0KKxOPJ4eMsGs42x9zn RC5bCdMW/+95MvahSJpIP0OS/cZ3Wlyj72HWPm56Vd4aGcet9ORgImutu28J1D5D+N8Y=; Received: from smtp-out2.suse.de ([195.135.220.29]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1q6s8d-00DfxY-8g for linux-f2fs-devel@lists.sourceforge.net; Wed, 07 Jun 2023 12:19:43 +0000 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0679A1FDAC; Wed, 7 Jun 2023 12:19:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686140377; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hIcAmuwwomlFKuWyJzT2ZczfUfDqBv+dd3ElI46NTH0=; b=nwl1WimOwPcjF98AEDnJ2K0z5H5r6S9PZV0NMxPrxeO+b6iUxsJL+D1fFXUbalAwuKeyE3 zDs72n/QwOPnZMi8nk3pSIarBQVHhZeQACSX9v+viDkwrv0NDl02wL5QLAw6mpY+lpJvKO GLq8dP5GTUTOdUeWCMUzXQ+Ee2PhJ1Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686140377; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hIcAmuwwomlFKuWyJzT2ZczfUfDqBv+dd3ElI46NTH0=; b=E1AF4AwgkO2HnPq1es8OnevAsUmnYalHeDtF1c1JN6GfSa26Y5PIvIwVLzXxB76McWsDjz R09PGSzfxNnSgdAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B7EEB13776; Wed, 7 Jun 2023 12:19:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id LXmULNh1gGTYQAAAMHmgww (envelope-from ); Wed, 07 Jun 2023 12:19:36 +0000 Message-ID: <9d7ae46b-f963-3412-cf5c-4d11c54eea58@suse.de> Date: Wed, 7 Jun 2023 14:19:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: Christoph Hellwig , Jens Axboe References: <20230606073950.225178-1-hch@lst.de> <20230606073950.225178-10-hch@lst.de> From: Hannes Reinecke In-Reply-To: <20230606073950.225178-10-hch@lst.de> X-Headers-End: 1q6s8d-00DfxY-8g Subject: Re: [f2fs-dev] [PATCH 09/31] block: pass a gendisk to ->open X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , "Rafael J. Wysocki" , linux-nvme@lists.infradead.org, Phillip Potter , Chris Mason , dm-devel@redhat.com, "Md. Haris Iqbal" , Pavel Machek , Miquel Raynal , Jack Wang , linux-nilfs@vger.kernel.org, linux-scsi@vger.kernel.org, Richard Weinberger , linux-pm@vger.kernel.org, linux-um@lists.infradead.org, Josef Bacik , Coly Li , linux-block@vger.kernel.org, linux-bcache@vger.kernel.org, Alexander Viro , David Sterba , Christian Brauner , "Martin K. Petersen" , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-btrfs@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 6/6/23 09:39, Christoph Hellwig wrote: > ->open is only called on the whole device. Make that explicit by > passing a gendisk instead of the block_device. > > Signed-off-by: Christoph Hellwig > --- > arch/um/drivers/ubd_kern.c | 5 ++--- > arch/xtensa/platforms/iss/simdisk.c | 4 ++-- > block/bdev.c | 2 +- > drivers/block/amiflop.c | 8 ++++---- > drivers/block/aoe/aoeblk.c | 4 ++-- > drivers/block/ataflop.c | 16 +++++++-------- > drivers/block/drbd/drbd_main.c | 6 +++--- > drivers/block/floppy.c | 30 +++++++++++++++-------------- > drivers/block/nbd.c | 8 ++++---- > drivers/block/pktcdvd.c | 6 +++--- > drivers/block/rbd.c | 4 ++-- > drivers/block/rnbd/rnbd-clt.c | 4 ++-- > drivers/block/swim.c | 10 +++++----- > drivers/block/swim3.c | 10 +++++----- > drivers/block/ublk_drv.c | 4 ++-- > drivers/block/z2ram.c | 6 ++---- > drivers/block/zram/zram_drv.c | 13 +++++-------- > drivers/cdrom/gdrom.c | 4 ++-- > drivers/md/bcache/super.c | 4 ++-- > drivers/md/dm.c | 4 ++-- > drivers/md/md.c | 6 +++--- > drivers/mmc/core/block.c | 4 ++-- > drivers/mtd/mtd_blkdevs.c | 4 ++-- > drivers/mtd/ubi/block.c | 4 ++-- > drivers/nvme/host/core.c | 4 ++-- > drivers/nvme/host/multipath.c | 4 ++-- > drivers/s390/block/dasd.c | 4 ++-- > drivers/s390/block/dcssblk.c | 7 +++---- > drivers/scsi/sd.c | 12 ++++++------ > drivers/scsi/sr.c | 6 +++--- > include/linux/blkdev.h | 2 +- > 31 files changed, 102 insertions(+), 107 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel