From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 25 Jun 2001 22:56:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 25 Jun 2001 22:56:28 -0400 Received: from mailhost.tue.nl ([131.155.2.5]:44350 "EHLO mailhost.tue.nl") by vger.kernel.org with ESMTP id ; Mon, 25 Jun 2001 22:56:11 -0400 Message-ID: <20010626045614.A24248@win.tue.nl> Date: Tue, 26 Jun 2001 04:56:14 +0200 From: Guest section DW To: Martin Wilck , Linux Kernel mailing list Subject: Re: [PATCH] wrong disk index in /proc/stat In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: ; from Martin Wilck on Mon, Jun 25, 2001 at 09:40:56PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 25, 2001 at 09:40:56PM +0200, Martin Wilck wrote: > no one seems to have noticed Don't worry. The set of people who noticed was nonempty. On the other hand, in my tree: static inline unsigned int disk_index (kdev_t dev) { struct gendisk *g = get_gendisk(dev); return g ? (MINOR(dev) >> g->minor_shift) : 0; }