Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149618 Details for
Bug 231518
Fix error handling in check_partition(), again
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
fix-check_partition (text/plain), 813 bytes, created by
Eric Sandeen
on 2007-03-08 20:10:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Eric Sandeen
Created:
2007-03-08 20:10:58 UTC
Size:
813 bytes
patch
obsolete
>Index: linux-2.6.18-6.el5/fs/partitions/check.c >=================================================================== >--- linux-2.6.18-6.el5.orig/fs/partitions/check.c >+++ linux-2.6.18-6.el5/fs/partitions/check.c >@@ -180,7 +180,7 @@ check_partition(struct gendisk *hd, stru > } > if (res > 0) > return state; >- if (!err) >+ if (err) > /* The partition is unrecognized. So report I/O errors if there were any */ > res = err; > if (!res) >@@ -472,7 +472,7 @@ int rescan_partitions(struct gendisk *di > if (!get_capacity(disk) || !(state = check_partition(disk, bdev))) > return 0; > if (IS_ERR(state)) /* I/O error reading the partition table */ >- return PTR_ERR(state); >+ return -EIO; > for (p = 1; p < state->limit; p++) { > sector_t size = state->parts[p].size; > sector_t from = state->parts[p].from;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231518
: 149618