Skip to content

Commit

Permalink
trivial: fs/btrfs/ioctl.c: fix typo s/substract/subtract/
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Ospite <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: [email protected]
Signed-off-by: Chris Mason <[email protected]>
  • Loading branch information
ao2 authored and masoncl committed Jun 10, 2014
1 parent 0b43e04 commit 9391558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3216,11 +3216,11 @@ static int btrfs_clone(struct inode *src, struct inode *inode,
* | ------------- 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;
Expand Down

0 comments on commit 9391558

Please sign in to comment.