diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-12 08:26:38 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-18 00:25:57 +0300 |
commit | 1d5bebbafc73d82e5af003cdd2bf8ee5741cd1df (patch) | |
tree | fe8d62d9d14fe01e7c327b2802c517f277c2ab1d /fs/xfs/xfs_bmap_util.c | |
parent | fa248de98a6beb9ceaec5059041d65f87ac438b4 (diff) | |
download | linux-1d5bebbafc73d82e5af003cdd2bf8ee5741cd1df.tar.xz |
xfs_attr_leaf: use swap macro in xfs_attr3_leaf_rebalance
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/xfs_bmap_util.c')
0 files changed, 0 insertions, 0 deletions