Skip to content
Commit aa42ffd9 authored by Liu Bo's avatar Liu Bo Committed by Chris Mason
Browse files

Btrfs: fix off-by-one in file clone



Btrfs uses inclusive range end for lock_extent(), unlock_extent() and
related functions, so we made off-by-one errors in file clone.

This fixes it and also fixes some style problems.

Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
parent 7e97b8da
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment