|
@@ -468,8 +468,8 @@ static unsigned long long nilfs_max_size(unsigned int blkbits)
|
|
|
static int nilfs_store_disk_layout(struct the_nilfs *nilfs,
|
|
|
struct nilfs_super_block *sbp)
|
|
|
{
|
|
|
- if (le32_to_cpu(sbp->s_rev_level) != NILFS_CURRENT_REV) {
|
|
|
- printk(KERN_ERR "NILFS: revision mismatch "
|
|
|
+ if (le32_to_cpu(sbp->s_rev_level) < NILFS_MIN_SUPP_REV) {
|
|
|
+ printk(KERN_ERR "NILFS: unsupported revision "
|
|
|
"(superblock rev.=%d.%d, current rev.=%d.%d). "
|
|
|
"Please check the version of mkfs.nilfs.\n",
|
|
|
le32_to_cpu(sbp->s_rev_level),
|