Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132433
b: refs/heads/master
c: 2842c3b
h: refs/heads/master
i:
  132431: 0d8e57e
v: v3
  • Loading branch information
Theodore Ts'o committed Mar 12, 2009
1 parent bd0c24b commit 3c59882
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 395a87bfefbc400011417e9eaae33169f9f036c0
refs/heads/master: 2842c3b5449f31470b61db716f1926b594fb6156
4 changes: 3 additions & 1 deletion trunk/fs/ext4/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode)
struct inode *ret;
ext4_group_t i;
int free = 0;
static int once = 1;
ext4_group_t flex_group;

/* Cannot create files in a deleted directory */
Expand All @@ -719,7 +720,8 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode)
ret2 = find_group_flex(sb, dir, &group);
if (ret2 == -1) {
ret2 = find_group_other(sb, dir, &group);
if (ret2 == 0 && printk_ratelimit())
if (ret2 == 0 && once)
once = 0;
printk(KERN_NOTICE "ext4: find_group_flex "
"failed, fallback succeeded dir %lu\n",
dir->i_ino);
Expand Down

0 comments on commit 3c59882

Please sign in to comment.