summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2014-06-04 14:03:48 +0200
committerChris Mason <clm@fb.com>2014-06-09 17:21:11 -0700
commit9391558411e89915f7f7c5c996d3091eced1a0ef (patch)
tree380b34d268f06634377649713138b931f1cf7190 /fs/btrfs/ioctl.c
parent0b43e04f700bce8eecf3581612e9d3e15bf258bc (diff)
downloadlinux-9391558411e89915f7f7c5c996d3091eced1a0ef.tar.bz2
trivial: fs/btrfs/ioctl.c: fix typo s/substract/subtract/
Signed-off-by: Antonio 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: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 44dcfd054ca6..dd9a02a53c7b 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -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;