commit | 7f33024ac293e8ff98a73b21452adc464929da31 | [log] [tgz] |
---|---|---|
author | Azat Khuzhin <a3at.mail@gmail.com> | Mon Jul 28 11:43:22 2014 +0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jul 28 20:21:47 2014 -0400 |
tree | 3f3ff979fdc98139dbc505b168fcd25107fda89a | |
parent | d230dc4a3ead2a5507f1edbf2ac603715c292019 [diff] |
journal: use consts instead of 1024 and add helper for journal with 1k blocksize Use EXT2_MIN_BLOCK_SIZE, JFS_MIN_JOURNAL_BLOCKS, SUPERBLOCK_SIZE, and SUPERBLOCK_OFFSET instead of hardcoded 1024 when it is okay, and also add a helper ext2fs_journal_sb_start() that will return start of journal sb with special case for fs with 1k block size. Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>