summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2014-06-04 14:03:48 +0200
committerChris Mason <clm@fb.com>2014-06-10 02:21:11 +0200
commit9391558411e89915f7f7c5c996d3091eced1a0ef (patch)
tree380b34d268f06634377649713138b931f1cf7190 /fs/btrfs
parentBtrfs: fix leaf corruption after __btrfs_drop_extents (diff)
downloadlinux-9391558411e89915f7f7c5c996d3091eced1a0ef.tar.xz
linux-9391558411e89915f7f7c5c996d3091eced1a0ef.zip
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')
-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;