diff options
| author | 2018-07-17 14:25:01 -0700 | |
|---|---|---|
| committer | 2018-07-17 14:25:57 -0700 | |
| commit | e4e542a683c16945533d700339a0aec261d39f34 (patch) | |
| tree | 836a607674664bdf74ca844332319964bcd920fb /fs/xfs/libxfs/xfs_ialloc.c | |
| parent | xfs_bmap_util: use swap macro (diff) | |
| download | linux-dev-e4e542a683c16945533d700339a0aec261d39f34.tar.xz linux-dev-e4e542a683c16945533d700339a0aec261d39f34.zip | |
xfs: use swap macro in xfs_dir2_leafn_rebalance
Make use of the swap macro and remove unnecessary variable *tmp*. This
makes the code easier to read and maintain. Also, slightly refactor some
code.
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_ialloc.c')
0 files changed, 0 insertions, 0 deletions
