From patchwork Fri Nov 20 21:16:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Dryomov X-Patchwork-Id: 7671331 X-Patchwork-Delegate: axboe@kernel.dk Return-Path: X-Original-To: patchwork-linux-block@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6913EBF90C for ; Fri, 20 Nov 2015 21:17:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98865203FB for ; Fri, 20 Nov 2015 21:17:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CD013203F7 for ; Fri, 20 Nov 2015 21:17:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757174AbbKTVRR (ORCPT ); Fri, 20 Nov 2015 16:17:17 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38199 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756064AbbKTVRQ (ORCPT ); Fri, 20 Nov 2015 16:17:16 -0500 Received: by wmec201 with SMTP id c201so36955322wme.1 for ; Fri, 20 Nov 2015 13:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0hED8+ofrHy2E/TbUUbspK04DM0jguatrvwh7Aom2TE=; b=CWim9irMJldiJD5WucdCv0jCo0jLjL06LKlM1gWWsI9a7Eo8Fb1GAX7FJRMkmmawc6 OAqTFD4y6D64Z8sBxqItnEI4Dzc9aSI1iXSqPIE9qoSU6d46aGQfmEBdVphWBnxLQWPf XJb/uRbvG7EPhq26ReO5PL+V4ljfVFWIt/HhZVKilJlcl60ewNhGuiUTR+8JHZFIle8Y tMHtTxdnWGbxuH5EBXa1yUV93v+Z6dguhDav786REGbUguy59D0+pLZDpZZuEkUExef8 BUuzPB5T2zWtwVcQX1UVIN03GrzuyPlj+B4RkL7Iduiwb2I62YyJCy5bggGiBQY1owE8 QJuA== X-Received: by 10.28.68.139 with SMTP id r133mr4853514wma.66.1448054235437; Fri, 20 Nov 2015 13:17:15 -0800 (PST) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id q141sm1181678wmg.3.2015.11.20.13.17.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Nov 2015 13:17:14 -0800 (PST) From: Ilya Dryomov To: Jens Axboe Cc: linux-block@vger.kernel.org Subject: [PATCH] block: rename request_queue slab cache Date: Fri, 20 Nov 2015 22:16:46 +0100 Message-Id: <1448054206-23808-1-git-send-email-idryomov@gmail.com> X-Mailer: git-send-email 2.4.3 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Name the cache after the actual name of the struct. Signed-off-by: Ilya Dryomov --- block/blk-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c index 5131993b23a1..c0c884efa40f 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -3513,7 +3513,7 @@ int __init blk_dev_init(void) request_cachep = kmem_cache_create("blkdev_requests", sizeof(struct request), 0, SLAB_PANIC, NULL); - blk_requestq_cachep = kmem_cache_create("blkdev_queue", + blk_requestq_cachep = kmem_cache_create("request_queue", sizeof(struct request_queue), 0, SLAB_PANIC, NULL); return 0;