Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 11 Sep 2002 02:01:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 11 Sep 2002 02:01:25 -0400 Received: from e35.co.us.ibm.com ([32.97.110.133]:26007 "EHLO e35.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Wed, 11 Sep 2002 02:01:25 -0400 Message-Id: <200209110605.g8B65VD02658@eng4.beaverton.ibm.com> To: Alexander Viro cc: linux-kernel@vger.kernel.org Subject: Re: 2.5.34 gendisk changes In-reply-to: Your message of "Tue, 10 Sep 2002 22:35:05 EDT." Date: Tue, 10 Sep 2002 23:05:31 -0700 From: Rick Lindsley Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 25 I wrote: It would seem that in 2.5.34 gendisk->part[0] no longer refers to the whole disk, but instead refers to the first partition. Is this correct? There isn't a struct hd_struct that refers to the whole disk anymore? I'm working on porting forward the sard patch for disk statistics, so I want to make sure this is the intent and not an off-by-one bug. Other code, though, suggests it's intentional. Alexander Viro replied: It is intentional. Great -- that helps. Is there an hd_struct for the whole disk anymore? Are there additional changes forthcoming, or is this the extent of the gendisk changes? Rick - 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/