rpms/kernel/F-11 linux-2.6-ext4-really-print-warning-once.patch, NONE, 1.1 kernel.spec, 1.1527, 1.1528
Chuck Ebbert
cebbert at fedoraproject.org
Thu Apr 9 21:03:57 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19529
Modified Files:
kernel.spec
Added Files:
linux-2.6-ext4-really-print-warning-once.patch
Log Message:
Only print ext4 allocator fallback warning once.
linux-2.6-ext4-really-print-warning-once.patch:
--- NEW FILE linux-2.6-ext4-really-print-warning-once.patch ---
ext4: really print the find_group_flex fallback warning only once
Missing braces caused the warning to print more than once.
Signed-Off-By: Chuck Ebbert <cebbert at redhat.com>
--- linux-2.6.27.noarch.orig/fs/ext4/ialloc.c
+++ linux-2.6.27.noarch/fs/ext4/ialloc.c
@@ -705,11 +705,12 @@ struct inode *ext4_new_inode(handle_t *h
ret2 = find_group_flex(sb, dir, &group);
if (ret2 == -1) {
ret2 = find_group_other(sb, dir, &group);
- if (ret2 == 0 && once)
+ if (ret2 == 0 && once) {
once = 0;
printk(KERN_NOTICE "ext4: find_group_flex "
"failed, fallback succeeded dir %lu\n",
dir->i_ino);
+ }
}
goto got_group;
}
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1527
retrieving revision 1.1528
diff -u -r1.1527 -r1.1528
--- kernel.spec 9 Apr 2009 19:15:20 -0000 1.1527
+++ kernel.spec 9 Apr 2009 21:03:27 -0000 1.1528
@@ -701,6 +701,8 @@
# fs fixes
Patch2920: linux-2.6-ext4-flush-on-close.patch
+Patch2921: linux-2.6-ext4-really-print-warning-once.patch
+
Patch3000: linux-2.6-btrfs-experimental-branch.patch
Patch3001: linux-2.6-btrfs-fix-umount-hang.patch
Patch3010: linux-2.6-relatime-by-default.patch
@@ -1145,6 +1147,7 @@
# ext4
ApplyPatch linux-2.6-ext4-flush-on-close.patch
+ApplyPatch linux-2.6-ext4-really-print-warning-once.patch
# xfs
@@ -1902,6 +1905,9 @@
# and build.
%changelog
+* Thu Apr 09 2009 Chuck Ebbert <cebbert at redhat.com>
+- Only print ext4 allocator fallback warning once.
+
* Thu Apr 09 2009 Dennis Gilmore <dennis at ausil.us> 2.6.29.1-59
- add patch to fix regression on sparc
More information about the scm-commits
mailing list