From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965489AbcCJJHA (ORCPT ); Thu, 10 Mar 2016 04:07:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:49169 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752534AbcCJJGt (ORCPT ); Thu, 10 Mar 2016 04:06:49 -0500 Date: Thu, 10 Mar 2016 10:06:46 +0100 From: Johannes Thumshirn To: NeilBrown Cc: Keith Busch , Maxim Levitsky , Vishal Verma , Jens Axboe , Dan Williams , Ross Zwisler , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-nvdimm@ml01.01.org Subject: Re: [PATCH 4/4] NVMe: don't allocate unused nvme_major Message-ID: <20160310090646.GQ3464@c203.arch.suse.de> References: <20160309215702.20904.61407.stgit@noble> <20160309215928.20904.24799.stgit@noble> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160309215928.20904.24799.stgit@noble> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: > When alloc_disk(0) is used, the ->major number is ignored. All device > numbers are allocated with a major of BLOCK_EXT_MAJOR. > > So remove all references to nvme_major. > > Signed-off-by: NeilBrown Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850