diff options
| author | Christoph Hellwig <[email protected]> | 2016-04-05 23:19:55 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2016-04-05 23:19:55 +0000 |
| commit | 253f4911f297b83745938b7f2c5649b94730b002 (patch) | |
| tree | 55d475f74f3140276bc59225bfeefe4103449f19 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | Linux 4.6-rc1 (diff) | |
| download | kernel-253f4911f297b83745938b7f2c5649b94730b002.tar.gz kernel-253f4911f297b83745938b7f2c5649b94730b002.zip | |
xfs: better xfs_trans_alloc interface
Merge xfs_trans_reserve and xfs_trans_alloc into a single function call
that returns a transaction with all the required log and block reservations,
and which allows passing transaction flags directly to avoid the cumbersome
_xfs_trans_alloc interface.
While we're at it we also get rid of the transaction type argument that has
been superflous since we stopped supporting the non-CIL logging mode. The
guts of it will be removed in another patch.
[dchinner: fixed transaction leak in error path in xfs_setattr_nonsize]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
