forked from luck/tmp_suning_uos_patched
xfs: use tr_growrtalloc for growing rt files
This is a regression from the following commit:
3d3c8b5222
xfs: refactor xfs_trans_reserve() interface
Use the tr_growrtalloc log reservation for growing the
bitmap/summary files.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
parent
38dbfb59d1
commit
70bbca0776
|
@ -842,7 +842,7 @@ xfs_growfs_rt_alloc(
|
|||
/*
|
||||
* 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);
|
||||
if (error)
|
||||
goto error_cancel;
|
||||
|
|
Loading…
Reference in New Issue
Block a user