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 157751 Details for
Bug 245563
lvmdiskscan misreports volume counts when run in lvm shell
[?]
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]
fix lvmdiskcan reporting in lvm shell
lvmdiskscan.patch (text/plain), 910 bytes, created by
Bryn M. Reeves
on 2007-06-25 13:20:34 UTC
(
hide
)
Description:
fix lvmdiskcan reporting in lvm shell
Filename:
MIME Type:
Creator:
Bryn M. Reeves
Created:
2007-06-25 13:20:34 UTC
Size:
910 bytes
patch
obsolete
>Index: tools/lvmdiskscan.c >=================================================================== >RCS file: /cvs/lvm2/LVM2/tools/lvmdiskscan.c,v >retrieving revision 1.17 >diff -u -r1.17 lvmdiskscan.c >--- tools/lvmdiskscan.c 23 Apr 2007 18:21:01 -0000 1.17 >+++ tools/lvmdiskscan.c 25 Jun 2007 12:39:30 -0000 >@@ -21,10 +21,10 @@ > > #include "tools.h" > >-int disks_found = 0; >-int parts_found = 0; >-int pv_disks_found = 0; >-int pv_parts_found = 0; >+int disks_found; >+int parts_found; >+int pv_disks_found; >+int pv_parts_found; > int max_len; > > static int _get_max_dev_name_len(struct dev_filter *filter) >@@ -99,6 +99,12 @@ > struct device *dev; > struct label *label; > >+ /* initialise these here to avoid problems with the lvm shell */ >+ disks_found = 0; >+ parts_found = 0; >+ pv_disks_found = 0; >+ pv_parts_found = 0; >+ > if (arg_count(cmd, lvmpartition_ARG)) > log_print("WARNING: only considering LVM devices"); >
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 245563
: 157751