Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93915584 authored by Antonio Ospite's avatar Antonio Ospite Committed by Chris Mason
Browse files

trivial: fs/btrfs/ioctl.c: fix typo s/substract/subtract/



Signed-off-by: default avatarAntonio Ospite <ao2@ao2.it>
Cc: Chris Mason <clm@fb.com>
Cc: Josef Bacik <jbacik@fb.com>
Cc: linux-btrfs@vger.kernel.org
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 0b43e04f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3216,11 +3216,11 @@ process_slot:
				 * | ------------- extent ------------- |
				 */

				/* substract range b */
				/* subtract range b */
				if (key.offset + datal > off + len)
					datal = off + len - key.offset;

				/* substract range a */
				/* subtract range a */
				if (off > key.offset) {
					datao += off - key.offset;
					datal -= off - key.offset;