Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273156
b: refs/heads/master
c: 6f8ff53
h: refs/heads/master
v: v3
  • Loading branch information
Curt Wohlgemuth authored and Theodore Ts'o committed Oct 26, 2011
1 parent 31695e1 commit 747a49e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: f85b287a01237857a50c93868231f7e831581a27
refs/heads/master: 6f8ff537266ee5396c920fb0c842a21df3055ff3
3 changes: 2 additions & 1 deletion trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,8 @@ ext4_ext_next_allocated_block(struct ext4_ext_path *path)
while (depth >= 0) {
if (depth == path->p_depth) {
/* leaf */
if (path[depth].p_ext !=
if (path[depth].p_ext &&
path[depth].p_ext !=
EXT_LAST_EXTENT(path[depth].p_hdr))
return le32_to_cpu(path[depth].p_ext[1].ee_block);
} else {
Expand Down

0 comments on commit 747a49e

Please sign in to comment.