diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/gfs2_ondisk.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/uapi/linux/gfs2_ondisk.h b/include/uapi/linux/gfs2_ondisk.h index 0f24c07aed51..db3fdd083882 100644 --- a/include/uapi/linux/gfs2_ondisk.h +++ b/include/uapi/linux/gfs2_ondisk.h | |||
| @@ -304,7 +304,13 @@ struct gfs2_dirent { | |||
| 304 | __be16 de_rec_len; | 304 | __be16 de_rec_len; |
| 305 | __be16 de_name_len; | 305 | __be16 de_name_len; |
| 306 | __be16 de_type; | 306 | __be16 de_type; |
| 307 | __u8 __pad[14]; | 307 | union { |
| 308 | __u8 __pad[14]; | ||
| 309 | struct { | ||
| 310 | __be16 de_rahead; | ||
| 311 | __u8 pad2[12]; | ||
| 312 | }; | ||
| 313 | }; | ||
| 308 | }; | 314 | }; |
| 309 | 315 | ||
| 310 | /* | 316 | /* |
| @@ -347,9 +353,9 @@ struct gfs2_leaf { | |||
| 347 | * metadata header. Each inode, if it has extended attributes, will | 353 | * metadata header. Each inode, if it has extended attributes, will |
| 348 | * have either a single block containing the extended attribute headers | 354 | * have either a single block containing the extended attribute headers |
| 349 | * or a single indirect block pointing to blocks containing the | 355 | * or a single indirect block pointing to blocks containing the |
| 350 | * extended attribure headers. | 356 | * extended attribute headers. |
| 351 | * | 357 | * |
| 352 | * The maximim size of the data part of an extended attribute is 64k | 358 | * The maximum size of the data part of an extended attribute is 64k |
| 353 | * so the number of blocks required depends upon block size. Since the | 359 | * so the number of blocks required depends upon block size. Since the |
| 354 | * block size also determines the number of pointers in an indirect | 360 | * block size also determines the number of pointers in an indirect |
| 355 | * block, its a fairly complicated calculation to work out the maximum | 361 | * block, its a fairly complicated calculation to work out the maximum |
