mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Mike Fedyk <mfedyk@matchmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.4] Is a negative rsect in /proc/partitions normal?
Date: Tue, 30 Dec 2003 09:58:19 -0200 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.58L.0312300958050.22101@logos.cnet> (raw)
In-Reply-To: <20031230024331.GN1882@matchmail.com>



> struct hd_struct in include/linux/genhd.h:61 has them all unsigned int.
>
> How's this patch look against 2.4.23?
>
> --- drivers/block/genhd.c.orig	2003-12-29 18:35:35.000000000 -0800
> +++ drivers/block/genhd.c	2003-12-29 18:40:11.000000000 -0800
> @@ -201,7 +201,7 @@
>
>  			disk_round_stats(hd);
>  			seq_printf(s, "%4d  %4d %10d %s "
> -				      "%d %d %d %d %d %d %d %d %d %d %d\n",
> +				      "%u %u %u %u %u %u %u %u %u %u %u\n",
>  				      gp->major, n, gp->sizes[n],
>  				      disk_name(gp, n, buf),
>  				      hd->rd_ios, hd->rd_merges,

Looks good, applied.

  reply	other threads:[~2003-12-30 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30  1:44 Mike Fedyk
2003-12-30  2:11 ` Andreas Dilger
2003-12-30  2:43   ` Mike Fedyk
2003-12-30 11:58     ` Marcelo Tosatti [this message]
2003-12-30 17:27       ` Mike Fedyk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58L.0312300958050.22101@logos.cnet \
    --to=marcelo.tosatti@cyclades.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfedyk@matchmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®