diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-12-10 20:58:22 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 11:40:34 -0500 |
commit | c175a518b4a1d514483abf61813ce5d855917164 (patch) | |
tree | e437a3d1377fab38c1d8ef6289fd9ea3590d09b2 /fs/ocfs2/ocfs2_fs.h | |
parent | 87d35a74b15ec703910a63e0667692fb5e267be0 (diff) |
ocfs2: Checksum and ECC for directory blocks.
Use the db_check field of ocfs2_dir_block_trailer to crc/ecc the
dirblocks.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/ocfs2_fs.h')
-rw-r--r-- | fs/ocfs2/ocfs2_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h index af0013b9c17f..698ef3d27121 100644 --- a/fs/ocfs2/ocfs2_fs.h +++ b/fs/ocfs2/ocfs2_fs.h | |||
@@ -776,7 +776,7 @@ struct ocfs2_dir_block_trailer { | |||
776 | /*20*/ __le64 db_blkno; /* Offset on disk, in blocks */ | 776 | /*20*/ __le64 db_blkno; /* Offset on disk, in blocks */ |
777 | __le64 db_parent_dinode; /* dinode which owns me, in | 777 | __le64 db_parent_dinode; /* dinode which owns me, in |
778 | blocks */ | 778 | blocks */ |
779 | /*30*/ __le64 db_check; /* Error checking */ | 779 | /*30*/ struct ocfs2_block_check db_check; /* Error checking */ |
780 | /*40*/ | 780 | /*40*/ |
781 | }; | 781 | }; |
782 | 782 | ||