Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155440
b: refs/heads/master
c: e646286
h: refs/heads/master
v: v3
  • Loading branch information
Johann Lombardi authored and Theodore Ts'o committed Jul 6, 2009
1 parent c23d0c3 commit 0d4f9ea
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 5adfee9c17314c1411095c23191c3cb0c2d25f9f
refs/heads/master: e6462869e4fd88be5141a356ee0c28d8067340cc
2 changes: 1 addition & 1 deletion trunk/fs/ext4/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode,
if (!goal)
goal = sbi->s_inode_goal;

if (goal && goal < le32_to_cpu(sbi->s_es->s_inodes_count)) {
if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) {
group = (goal - 1) / EXT4_INODES_PER_GROUP(sb);
ino = (goal - 1) % EXT4_INODES_PER_GROUP(sb);
ret2 = 0;
Expand Down

0 comments on commit 0d4f9ea

Please sign in to comment.