diff options
Diffstat (limited to 'fs/ocfs2/ocfs2_fs.h')
-rw-r--r-- | fs/ocfs2/ocfs2_fs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h index 3633edd3982f..3299116b8021 100644 --- a/fs/ocfs2/ocfs2_fs.h +++ b/fs/ocfs2/ocfs2_fs.h | |||
@@ -475,6 +475,18 @@ struct ocfs2_extent_block | |||
475 | }; | 475 | }; |
476 | 476 | ||
477 | /* | 477 | /* |
478 | * On disk slot map for OCFS2. This defines the contents of the "slot_map" | ||
479 | * system file. | ||
480 | */ | ||
481 | struct ocfs2_slot_map { | ||
482 | /*00*/ __le16 sm_slots[0]; | ||
483 | /* | ||
484 | * Actual on-disk size is one block. OCFS2_MAX_SLOTS is 255, | ||
485 | * 255 * sizeof(__le16) == 512B, within the 512B block minimum blocksize. | ||
486 | */ | ||
487 | }; | ||
488 | |||
489 | /* | ||
478 | * On disk superblock for OCFS2 | 490 | * On disk superblock for OCFS2 |
479 | * Note that it is contained inside an ocfs2_dinode, so all offsets | 491 | * Note that it is contained inside an ocfs2_dinode, so all offsets |
480 | * are relative to the start of ocfs2_dinode.id2. | 492 | * are relative to the start of ocfs2_dinode.id2. |