summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rmap_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong2016-08-03 04:26:22 +0200
committerDave Chinner2016-08-03 04:26:22 +0200
commitc1d22ae89cf6086d6a457b3b9241fcb36ebddd14 (patch)
tree8b587b63557dc80ac1a5a5a432973de8f89c8156 /fs/xfs/xfs_rmap_item.h
parentxfs: remove unnecesary lshift/rshift key initialization (diff)
downloadkernel-qcow2-linux-c1d22ae89cf6086d6a457b3b9241fcb36ebddd14.tar.gz
kernel-qcow2-linux-c1d22ae89cf6086d6a457b3b9241fcb36ebddd14.tar.xz
kernel-qcow2-linux-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 <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_rmap_item.h')
0 files changed, 0 insertions, 0 deletions