commit | aa42ffd918c420d5625b25b7a0bc2bbde4c9f890 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Tue Sep 18 03:52:23 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Oct 08 20:07:32 2012 -0400 |
tree | 3833ab0e8a2932c58e227947e7f216da64a1da49 | |
parent | 7e97b8daf63487c20f78487bd4045f39b0d97cf4 [diff] |
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: Liu Bo <bo.li.liu@oracle.com>