2001-02-10 20:36:50

by L A Walsh

[permalink] [raw]
Subject: question on comment in fs.h

Excuse my ignorance, but in file include/linux/fs.h, 2.4.x source
in the struct buffer_head, there is a member:
unsigned short b_size; /* block size */
later there is a member:
char * b_data; /* pointer to data block (512 byte) */

Is the "(512 byte)" part of the comment in error or do I misunderstand
the nature of 'b_size'

-l

--
Linda A Walsh | Trust Technology, Core Linux, SGI
[email protected] | Voice: (650) 933-5338


2001-02-10 20:40:00

by Jens Axboe

[permalink] [raw]
Subject: Re: question on comment in fs.h

On Sat, Feb 10 2001, LA Walsh wrote:
> Excuse my ignorance, but in file include/linux/fs.h, 2.4.x source
> in the struct buffer_head, there is a member:
> unsigned short b_size; /* block size */
> later there is a member:
> char * b_data; /* pointer to data block (512 byte) */
>
> Is the "(512 byte)" part of the comment in error or do I misunderstand
> the nature of 'b_size'

The comment is old and wrong

--
Jens Axboe