diff options
| author | Maninder Singh <maninder1.s@samsung.com> | 2017-08-06 01:33:07 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-08-12 12:17:20 +0200 |
| commit | a5797252faf69fa39a62fb0ac7cce5a39007b0bc (patch) | |
| tree | c848e2bc07d23e3313bf9619e9875ccfca5b047a | |
| parent | 62073f9a349a7eb89dc6bcb8837a3706e6010390 (diff) | |
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>
| -rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index a2baaea10..ed15d254b 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -5612,7 +5612,7 @@ ext4_swap_extents(handle_t *handle, struct inode *inode1, if (e1_blk > lblk1) next1 = e1_blk; if (e2_blk > lblk2) - next2 = e1_blk; + next2 = e2_blk; /* Do we have something to swap */ if (next1 == EXT_MAX_BLOCKS || next2 == EXT_MAX_BLOCKS) goto finish; |
