Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262099
b: refs/heads/master
c: ffb505f
h: refs/heads/master
i:
  262097: 624b2a8
  262095: 0a6fc1d
v: v3
  • Loading branch information
Robin Dong authored and Theodore Ts'o committed Jul 11, 2011
1 parent eb55cec commit 97f8c21
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 22612283f7da1ce9849d9b3716010b07a0446fd9
refs/heads/master: ffb505ff0f7b52318dea46dd139107a8371b4ad7
3 changes: 1 addition & 2 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,6 @@ int ext4_ext_insert_extent(handle_t *handle, struct inode *inode,
goto merge;
}

repeat:
depth = ext_depth(inode);
eh = path[depth].p_hdr;
if (le16_to_cpu(eh->eh_entries) < le16_to_cpu(eh->eh_max))
Expand All @@ -1745,7 +1744,7 @@ int ext4_ext_insert_extent(handle_t *handle, struct inode *inode,
ext_debug("next leaf isn't full(%d)\n",
le16_to_cpu(eh->eh_entries));
path = npath;
goto repeat;
goto has_space;
}
ext_debug("next leaf has no free space(%d,%d)\n",
le16_to_cpu(eh->eh_entries), le16_to_cpu(eh->eh_max));
Expand Down

0 comments on commit 97f8c21

Please sign in to comment.