提交 93915584 编写于 作者: A Antonio Ospite 提交者: Chris Mason

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

Signed-off-by: NAntonio 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: NChris Mason <clm@fb.com>
上级 0b43e04f
...@@ -3216,11 +3216,11 @@ static int btrfs_clone(struct inode *src, struct inode *inode, ...@@ -3216,11 +3216,11 @@ static int btrfs_clone(struct inode *src, struct inode *inode,
* | ------------- extent ------------- | * | ------------- extent ------------- |
*/ */
/* substract range b */ /* subtract range b */
if (key.offset + datal > off + len) if (key.offset + datal > off + len)
datal = off + len - key.offset; datal = off + len - key.offset;
/* substract range a */ /* subtract range a */
if (off > key.offset) { if (off > key.offset) {
datao += off - key.offset; datao += off - key.offset;
datal -= off - key.offset; datal -= off - key.offset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册