diff --git a/fs/udf/super.c b/fs/udf/super.c index 5a21d352ea4b..31d1c583b2a7 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c @@ -2520,10 +2520,9 @@ static unsigned int udf_count_free(struct super_block *sb) struct logicalVolIntegrityDesc *lvid = (struct logicalVolIntegrityDesc *) sbi->s_lvid_bh->b_data; if (le32_to_cpu(lvid->numOfPartitions) > part) { accum = le32_to_cpu( - lvid->freeSpaceTable[part]); + lvid->freeSpaceTable[part - 1]); if (accum == 0xFFFFFFFF) accum = 0; }