public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Davidlohr Bueso <dave@gnu.org>
Cc: Petr Uzel <petr.uzel@suse.cz>, util-linux <util-linux@vger.kernel.org>
Subject: Re: [PATCH 2/5] fdisk: move DOS new/add partition code
Date: Thu, 10 May 2012 11:50:52 +0200	[thread overview]
Message-ID: <20120510095052.GC25706@x2.net.home> (raw)
In-Reply-To: <1336306218.2685.11.camel@offbook>

On Sun, May 06, 2012 at 02:10:18PM +0200, Davidlohr Bueso wrote:
>  fdisk/fdisk.h         |   22 +++-
>  fdisk/fdiskdoslabel.c |  332 ++++++++++++++++++++++++++++++++++++++++++++++
>  fdisk/fdiskdoslabel.h |    5 +-
>  4 files changed, 365 insertions(+), 348 deletions(-)

 Applied, thanks.

> +extern unsigned long long total_number_of_sectors;

 Look forward to see sector_t :-)

> +static inline int is_cleared_partition(struct partition *p)
> +{
> +	return !(!p || p->boot_ind || p->head || p->sector || p->cyl ||
> +		 p->sys_ind || p->end_head || p->end_sector || p->end_cyl ||
> +		 get_start_sect(p) || get_nr_sects(p));
> +}

 this seems DOS specific...

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      parent reply	other threads:[~2012-05-10  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 12:10 [PATCH 2/5] fdisk: move DOS new/add partition code Davidlohr Bueso
2012-05-06 17:58 ` Petr Uzel
2012-05-10  9:50 ` Karel Zak [this message]

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=20120510095052.GC25706@x2.net.home \
    --to=kzak@redhat.com \
    --cc=dave@gnu.org \
    --cc=petr.uzel@suse.cz \
    --cc=util-linux@vger.kernel.org \
    /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