提交 9c3bf5da 编写于 作者: B Brian Foster 提交者: Darrick J. Wong

xfs: use ->t_firstblock in inode inactivate

Signed-off-by: NBrian Foster <bfoster@redhat.com>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com>
上级 f5375389
......@@ -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) {
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册