Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349164
b: refs/heads/master
c: 1214b53
h: refs/heads/master
v: v3
  • Loading branch information
Liu Bo authored and Josef Bacik committed Jan 14, 2013
1 parent e723618 commit 91d5428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3268a2468eb6a31af89930cbae58a62fe6ca6d2d
refs/heads/master: 1214b53f90131fee1f950010c43e92455fe598ab
1 change: 1 addition & 0 deletions trunk/fs/btrfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2242,6 +2242,7 @@ static int find_desired_extent(struct inode *inode, loff_t *offset, int origin)
if (lockend <= lockstart)
lockend = lockstart + root->sectorsize;

lockend--;
len = lockend - lockstart + 1;

len = max_t(u64, len, root->sectorsize);
Expand Down

0 comments on commit 91d5428

Please sign in to comment.