* @throws IOException
*/
private long getDataBlockNr(long i) throws IOException {
if ((getFlags() & Ext2Constants.EXT4_INODE_EXTENTS_FLAG) != 0) {
if (extentHeader == null) {
extentHeader = new ExtentHeader(getINodeBlockData());
}
return extentHeader.getBlockNumber(fs, i);
} else {
return getDataBlockNrIndirect(i);