mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
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>
This commit is contained in:
parent
0b43e04f70
commit
9391558411
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user