[RFC][PATCH 0/3] add new types for ext2

From: sho
Date: Fri Jun 30 2006 - 02:36:30 EST


Hi all,

On June 29, 2006, I wrote:
> There are two new types in Mingming's patches. One is "ext3_fsblk_t"
> for filesystem relative block and the other is "ext3_grpblk_t" for
> blockgroup relative offset. But they have no type for file relative
> offset. Moreover variables for file relative offset are used as
> various types(int, long and unsigned long) in current kernel.
>
> Therefore I added "ext3_fileblk_t" for file relative offset.
> It gives unity, which makes maintenance easier and code clearer.
> ext3_fileblk_t is unsigned long which is the maximum size of
> current type for file relative offset.


I added the following three types for ext2(like ext3).

typedef unsigned long ext2_fsblk_t; (for filesystem relative block)
typedef long ext2_grpblk_t; (for group relative block)
typedef unsigned long ext2_fileblk_t; (for file relative offset)

This series of patches give unity, which make maintenance easier
and code clearer.

[patch 1/3] ext2_fsblk_t.patch
convert ext2 filesystem blocks to ext2_fsblk_t

[patch 2/3] ext2_grpblk_t.patch
convert ext2 group blocks to ext2_grpblk_t

[patch 3/3] ext2_fileblk_t.patch
convert ext2 file offset to ext2_fileblk_t

Any comments?

sho

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/