aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_alloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-07-02 11:23:03 -0700
committerDarrick J. Wong <djwong@kernel.org>2024-07-02 11:37:04 -0700
commit905af72610d90f58f994feff4ead1fc258f5d2b1 (patch)
tree212fda66844ae6408897957cd2dcca8ddb9a16a7 /fs/xfs/libxfs/xfs_alloc.c
parent8363b4361997044ecb99880a1a9bfdebf9145eed (diff)
xfs: simplify usage of the rcur local variable in xfs_rmap_finish_one
Only update rcur when we know the final *pcur value. Signed-off-by: Christoph Hellwig <hch@lst.de> [djwong: don't leave the caller with a dangling ref] Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions