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

Commit 9c3bf5da authored by Brian Foster's avatar Brian Foster Committed by Darrick J. Wong
Browse files

xfs: use ->t_firstblock in inode inactivate

parent f5375389
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1772,7 +1772,6 @@ xfs_inactive_ifree(
	struct xfs_inode *ip)
{
	struct xfs_defer_ops	dfops;
	xfs_fsblock_t		first_block;
	struct xfs_mount	*mp = ip->i_mount;
	struct xfs_trans	*tp;
	int			error;
@@ -1809,7 +1808,7 @@ xfs_inactive_ifree(
	xfs_ilock(ip, XFS_ILOCK_EXCL);
	xfs_trans_ijoin(tp, ip, 0);

	xfs_defer_init(tp, &dfops, &first_block);
	xfs_defer_init(tp, &dfops, &tp->t_firstblock);
	error = xfs_ifree(tp, ip);
	if (error) {
		/*