diff options
| author | Darrick J. Wong <[email protected]> | 2016-08-03 02:26:22 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2016-08-03 02:26:22 +0000 |
| commit | c1d22ae89cf6086d6a457b3b9241fcb36ebddd14 (patch) | |
| tree | 8b587b63557dc80ac1a5a5a432973de8f89c8156 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | xfs: remove unnecesary lshift/rshift key initialization (diff) | |
| download | kernel-c1d22ae89cf6086d6a457b3b9241fcb36ebddd14.tar.gz kernel-c1d22ae89cf6086d6a457b3b9241fcb36ebddd14.zip | |
xfs: in btree_lshift, only allocate temporary cursor when needed
We only need the temporary cursor in _btree_lshift if we're shifting
in an overlapped btree. Therefore, factor that into a single block
of code so we avoid unnecessary cursor duplication.
Also fix use of the wrong cursor when checking for corruption in
xfs_btree_rshift().
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
