diff options
author | 2009-03-23 16:53:20 +0100 | |
---|---|---|
committer | 2009-03-23 16:53:20 +0100 | |
commit | efd247fa34084d9b162f485004ae6d8a04059f0c (patch) | |
tree | 417dcbe06d5cce1353a4c19cbda480ae67652b5c /fs/ext4/ialloc.c | |
parent | sched: jiffies not printed per CPU (diff) | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes (diff) | |
download | linux-dev-efd247fa34084d9b162f485004ae6d8a04059f0c.tar.xz linux-dev-efd247fa34084d9b162f485004ae6d8a04059f0c.zip |
Merge branches 'sched/debug' and 'linus' into sched/core
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 627f8c3337a3..2d2b3585ee91 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c @@ -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 */ @@ -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); |