FreeBSD Bugzilla – Attachment 107864 Details for
Bug 148687
[geom] gpart prints invalid partition number when destroying uncommitted slice/partition.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
g_part.diff
g_part.diff (text/plain), 715 bytes, created by
Andrey V. Elsukov
on 2010-07-17 08:08:55 UTC
(
hide
)
Description:
g_part.diff
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2010-07-17 08:08:55 UTC
Size:
715 bytes
patch
obsolete
>Index: g_part.c >=================================================================== >--- g_part.c (revision 209667) >+++ g_part.c (working copy) >@@ -830,14 +830,6 @@ > entry->gpe_pp = NULL; > } > >- if (entry->gpe_created) { >- LIST_REMOVE(entry, gpe_entry); >- g_free(entry); >- } else { >- entry->gpe_modified = 0; >- entry->gpe_deleted = 1; >- } >- > if (pp != NULL) > g_wither_provider(pp, ENXIO); > >@@ -850,6 +842,14 @@ > gctl_set_param(req, "output", sbuf_data(sb), sbuf_len(sb) + 1); > sbuf_delete(sb); > } >+ >+ if (entry->gpe_created) { >+ LIST_REMOVE(entry, gpe_entry); >+ g_free(entry); >+ } else { >+ entry->gpe_modified = 0; >+ entry->gpe_deleted = 1; >+ } > return (0); > } >
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 148687
:
107863
| 107864