diff options
author | 2012-09-18 03:52:23 -0600 | |
---|---|---|
committer | 2012-10-08 20:07:32 -0400 | |
commit | aa42ffd918c420d5625b25b7a0bc2bbde4c9f890 (patch) | |
tree | 3833ab0e8a2932c58e227947e7f216da64a1da49 /lib/spinlock_debug.c | |
parent | btrfs: allow setting NOCOW for a zero sized file via ioctl (diff) | |
download | linux-dev-aa42ffd918c420d5625b25b7a0bc2bbde4c9f890.tar.xz linux-dev-aa42ffd918c420d5625b25b7a0bc2bbde4c9f890.zip |
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions