Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 15 Jan 2002 15:31:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 15 Jan 2002 15:31:30 -0500 Received: from hera.cwi.nl ([192.16.191.8]:62947 "EHLO hera.cwi.nl") by vger.kernel.org with ESMTP id ; Tue, 15 Jan 2002 15:31:19 -0500 From: Andries.Brouwer@cwi.nl Date: Tue, 15 Jan 2002 20:31:16 GMT Message-Id: To: Matt_Domsch@dell.com, linux-kernel@vger.kernel.org Subject: Re: struct gendisk max_p gone in 2.5.x Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > The max_p member of struct gendisk was deleted in 2.5.x. > Is there a different preferred method for partition detection code > to know the maximum number of partitions it's allowed to present? Instead of using g->max_p you can use 1<minor_shift . Andries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/