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

[email protected]
Newsgroups gmane.comp.file-systems.ext2.devel,gmane.linux.kernel
Message-ID <[email protected]>
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


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.