aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_dir2_node.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-11 22:26:38 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-17 14:25:57 -0700
commit897992b7e3505659fda57887223bd6bfe163c12f (patch)
tree6dc2d669508f9e7d7bde83ccd886650517d996ed /fs/xfs/libxfs/xfs_dir2_node.c
parentxfs_attr_leaf: use swap macro in xfs_attr3_leaf_rebalance (diff)
downloadlinux-897992b7e3505659fda57887223bd6bfe163c12f.tar.gz
linux-897992b7e3505659fda57887223bd6bfe163c12f.zip
xfs_bmap_util: use swap macro
Make use of the swap macro and remove some unnecessary variables. This makes the code easier to read and maintain. Also, reduces the stack usage. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_node.c')
0 files changed, 0 insertions, 0 deletions