Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e825e3a authored by Ben Myers's avatar Ben Myers
Browse files

xfs: fix calculation of freed inode cluster blocks



rec.ir_startino is an agino rather than an ino.  Use the correct macro
when dealing with it in xfs_difree.

Signed-off-by: default avatarBen Myers <bpm@sgi.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent db10bddc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1229,7 +1229,7 @@ xfs_difree(
		}

		xfs_bmap_add_free(XFS_AGB_TO_FSB(mp,
				agno, XFS_INO_TO_AGBNO(mp,rec.ir_startino)),
				agno, XFS_AGINO_TO_AGBNO(mp, rec.ir_startino)),
				XFS_IALLOC_BLOCKS(mp), flist, mp);
	} else {
		*delete = 0;