ext4: fix copy paste error in ext4_swap_extents()
This bug was found by a static code checker tool for copy paste problems. Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Vaneet Narang <v.narang@samsung.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
aec51758ce
commit
4e56201321
|
@ -5836,7 +5836,7 @@ ext4_swap_extents(handle_t *handle, struct inode *inode1,
|
||||||
if (e1_blk > lblk1)
|
if (e1_blk > lblk1)
|
||||||
next1 = e1_blk;
|
next1 = e1_blk;
|
||||||
if (e2_blk > lblk2)
|
if (e2_blk > lblk2)
|
||||||
next2 = e1_blk;
|
next2 = e2_blk;
|
||||||
/* Do we have something to swap */
|
/* Do we have something to swap */
|
||||||
if (next1 == EXT_MAX_BLOCKS || next2 == EXT_MAX_BLOCKS)
|
if (next1 == EXT_MAX_BLOCKS || next2 == EXT_MAX_BLOCKS)
|
||||||
goto finish;
|
goto finish;
|
||||||
|
|
Loading…
Reference in New Issue