0314acfb2d
Mostly removal of unused parameters from calls. Change-Id: I0eb7b568265d1669492d958e78b9e69d7cf6fc05
16 lines
484 B
C
16 lines
484 B
C
#ifndef EXT2_BUF_H
|
|
#define EXT2_BUF_H
|
|
|
|
union fsdata_u {
|
|
char b__data[1]; /* ordinary user data */
|
|
block_t b__ind[1]; /* indirect block */
|
|
bitchunk_t b__bitmap[1]; /* bit map block */
|
|
};
|
|
|
|
/* These defs make it possible to use to bp->b_data instead of bp->b.b__data */
|
|
#define b_data(bp) ((union fsdata_u *) bp->data)->b__data
|
|
#define b_ind(bp) ((union fsdata_u *) bp->data)->b__ind
|
|
#define b_bitmap(bp) ((union fsdata_u *) bp->data)->b__bitmap
|
|
|
|
#endif /* EXT2_BUF_H */
|