From patchwork Fri Mar 10 22:40:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 13170312 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 1C7A9C6FA99 for ; Fri, 10 Mar 2023 22:40:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231496AbjCJWkd (ORCPT ); Fri, 10 Mar 2023 17:40:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbjCJWk1 (ORCPT ); Fri, 10 Mar 2023 17:40:27 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 749EB12DDEF; Fri, 10 Mar 2023 14:40:22 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1678488020; bh=LhiQNQDzGsVSilvdHxI2IkQhBsPFCK1RowivwifIxYg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=sE22RVsHgnpqRoENj8xKSVxDb2gLhErFnxi24EOtLc5snn2SPouPKXHI1+QZeTMwc Tmin05cTU2K/1qp6kH/cc/4EEeBFI/pwWSi/yw8oysroY7SEWHU7ebJzUXq0dLKY5E WBa77Ug9kJYI/0rNqoh+944i97WJC+wQ7jCDMRfE= Date: Fri, 10 Mar 2023 22:40:05 +0000 Subject: [PATCH v2 4/4] blk-integrity: drop integrity_kobj from gendisk MIME-Version: 1.0 Message-Id: <20230309-kobj_release-gendisk_integrity-v2-4-761a50d71900@weissschuh.net> References: <20230309-kobj_release-gendisk_integrity-v2-0-761a50d71900@weissschuh.net> In-Reply-To: <20230309-kobj_release-gendisk_integrity-v2-0-761a50d71900@weissschuh.net> To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "Martin K. Petersen" , =?utf-8?q?Thomas_Wei?= =?utf-8?q?=C3=9Fschuh?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678488015; l=688; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=LhiQNQDzGsVSilvdHxI2IkQhBsPFCK1RowivwifIxYg=; b=ws/Wvfp/YWGMguSZpa/0eVK1Y4chRivP0mRHGaoxtKT2wcJAWRAh4rzknNcDs85r+jURGecyF N6tZ3b6U93xD2Yt5BoOJT7vvlBNRO3UdsEN1iErpgkLDTPMMzK7+VJ2 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org The previous patches made the integrity_kobj member in struct gendisk superfluous, remove it. Signed-off-by: Thomas Weißschuh --- include/linux/blkdev.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index d1aee08f8c18..b5bc85c3166f 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -163,9 +163,6 @@ struct gendisk { struct timer_rand_state *random; atomic_t sync_io; /* RAID */ struct disk_events *ev; -#ifdef CONFIG_BLK_DEV_INTEGRITY - struct kobject integrity_kobj; -#endif /* CONFIG_BLK_DEV_INTEGRITY */ #ifdef CONFIG_BLK_DEV_ZONED /*