]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use swap macro in mext_page_double_lock
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 29 Jul 2018 20:11:59 +0000 (16:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2018 20:11:59 +0000 (16:11 -0400)
commit1a5d73237d4bb24bd374a9c2760db54c9fc31aff
treed92acb845a765a1c2b5f2a4121eb235c2add9610
parent61e80237132e32d2ba28e7fd206f6103b02cb721
ext4: use swap macro in mext_page_double_lock

Make use of the swap macro and remove unnecessary variable *tmp*.
This makes the code easier to read and maintain.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/move_extent.c