The fixes that went in for Bugzilla Bug 210234: [RHEL5 BETA1] Patch - Fix error handling in check_partition() and rescan_partitition() have had 2 corrections since they went upstream, which should probably be pulled back. Those fixes are also slated for the backported patch for RHEL4 in bug 229709. One change addresses the error return from rescan_partitions, which could erroneously look like -EPERM when it should be -EIO. The other addresses a possibly missed IO error in the check_partition error return.
Created attachment 149618 [details] patch kernel.org is acting up, but I think this is the patch that needs to come back; will confirm.
http://www2.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/broken-out/check_partition-fix-error-check.patch is part of it; the other change still needs to go upstream as near as I can tell.
This request was evaluated by Red Hat Kernel Team for inclusion in a Red Hat Enterprise Linux maintenance release, and has moved to bugzilla status POST.
in 2.6.18-15.el5
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0959.html