Skip to contentSkip to conversation

question on comment in fs.h

DISCUSSION LA Walsh 2 participants 2 messages Feb 10, 2001

lore
Share & tools
lore

LA Walsh

author
#0 lore raw

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

Signature · 6 lines
Linda A Walsh                    | Trust Technology, Core Linux, SGI
[email protected]                      | Voice: (650) 933-5338
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 8 lines · LA Walsh

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

Signature · 6 lines
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/