提交 70bbca07 编写于 作者: B Brian Foster 提交者: Dave Chinner

xfs: use tr_growrtalloc for growing rt files

This is a regression from the following commit:

3d3c8b52 xfs: refactor xfs_trans_reserve() interface

Use the tr_growrtalloc log reservation for growing the
bitmap/summary files.
Signed-off-by: NBrian Foster <bfoster@redhat.com>
Reviewed-by: NEric Sandeen <sandeen@redhat.com>
Reviewed-by: NJie Liu <jeff.liu@oracle.com>
Signed-off-by: NDave Chinner <david@fromorbit.com>
上级 38dbfb59
...@@ -842,7 +842,7 @@ xfs_growfs_rt_alloc( ...@@ -842,7 +842,7 @@ xfs_growfs_rt_alloc(
/* /*
* Reserve space & log for one extent added to the file. * Reserve space & log for one extent added to the file.
*/ */
error = xfs_trans_reserve(tp, &M_RES(mp)->tr_growdata, error = xfs_trans_reserve(tp, &M_RES(mp)->tr_growrtalloc,
resblks, 0); resblks, 0);
if (error) if (error)
goto error_cancel; goto error_cancel;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册