mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: cw@f00f.org (Chris Wedgwood)
Cc: LKML <linux-kernel@vger.kernel.org>,
	Chris Wedgwood <cw@taniwha.stupidest.org>
Subject: Re: [RFC] Rename SECTOR_SIZE to MSDOS_SECTOR_SIZE
Date: Wed, 27 Oct 2004 22:03:06 +0900	[thread overview]
Message-ID: <878y9ss48l.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <20041027060837.GB32396@taniwha.stupidest.org> (Chris Wedgwood's message of "Tue, 26 Oct 2004 23:08:37 -0700")

cw@f00f.org (Chris Wedgwood) writes:

> -#define SECTOR_SIZE	512		/* sector size (bytes) */
> -#define SECTOR_BITS	9		/* log2(SECTOR_SIZE) */
> +#define MSDOS_SECTOR_SIZE	512	/* sector size (bytes) */
> +#define MSDOS_SECTOR_BITS	9	/* log2(SECTOR_SIZE) */
>  #define MSDOS_DPB	(MSDOS_DPS)	/* dir entries per block */
>  #define MSDOS_DPB_BITS	4		/* log2(MSDOS_DPB) */
> -#define MSDOS_DPS	(SECTOR_SIZE / sizeof(struct msdos_dir_entry))
> +#define MSDOS_DPS	(MSDOS_SECTOR_SIZE / sizeof(struct msdos_dir_entry))
>  #define MSDOS_DPS_BITS	4		/* log2(MSDOS_DPS) */

The fatfs doesn't use these (is separated by two blank lines).
These are for just backward compatibility.

To rename is not useful at all, please delete instead if it's needed.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

      reply	other threads:[~2004-10-27 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27  6:08 Chris Wedgwood
2004-10-27 13:03 ` OGAWA Hirofumi [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=878y9ss48l.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=cw@f00f.org \
    --cc=cw@taniwha.stupidest.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®