* Of course I messed it up; now ext2 doesn't crash anymore when I mount

something it does support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29511 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-03-14 12:53:30 +00:00
parent 431a51cc91
commit 21faca8429

View File

@ -453,6 +453,7 @@ Volume::Identify(int fd, ext2_super_block* superBlock)
if (!superBlock->IsValid())
return B_BAD_VALUE;
return _UnsupportedIncompatibleFeatures(*superBlock) == 0;
return _UnsupportedIncompatibleFeatures(*superBlock) == 0
? B_OK : B_NOT_SUPPORTED;
}