Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375806
b: refs/heads/master
c: a52f4cd
h: refs/heads/master
v: v3
  • Loading branch information
Liu Bo authored and Josef Bacik committed May 17, 2013
1 parent 6a48cbf commit 11d5d86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60b62978bc5e903cd487de34972fb30f76c74a2e
refs/heads/master: a52f4cd2b1a863a42c1cb268b1cddad451cdfede
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/extent_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3989,7 +3989,7 @@ int extent_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
last_for_get_extent = isize;
}

lock_extent_bits(&BTRFS_I(inode)->io_tree, start, start + len, 0,
lock_extent_bits(&BTRFS_I(inode)->io_tree, start, start + len - 1, 0,
&cached_state);

em = get_extent_skip_holes(inode, start, last_for_get_extent,
Expand Down Expand Up @@ -4076,7 +4076,7 @@ int extent_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
out_free:
free_extent_map(em);
out:
unlock_extent_cached(&BTRFS_I(inode)->io_tree, start, start + len,
unlock_extent_cached(&BTRFS_I(inode)->io_tree, start, start + len - 1,
&cached_state, GFP_NOFS);
return ret;
}
Expand Down

0 comments on commit 11d5d86

Please sign in to comment.