This commit is contained in:
parent
96624b5751
commit
9368e25cda
13
cmdline_large_minor.diff
Normal file
13
cmdline_large_minor.diff
Normal file
@ -0,0 +1,13 @@
|
||||
--- tools/lvmcmdline.c
|
||||
+++ tools/lvmcmdline.c 2008/02/20 10:45:12
|
||||
@@ -265,8 +265,8 @@
|
||||
if (!_get_int_arg(a, &ptr) || (*ptr) || (a->sign == SIGN_MINUS))
|
||||
return 0;
|
||||
|
||||
- if (a->i_value > 255) {
|
||||
- log_error("Minor number outside range 0-255");
|
||||
+ if (a->i_value > 1048575) {
|
||||
+ log_error("Minor number outside range 0-1048575");
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 11:47:30 CET 2008 - fehr@suse.de
|
||||
|
||||
- allow large minor number on command line with option --minor
|
||||
(bnc#362960)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 14:11:32 CET 2008 - fehr@suse.de
|
||||
|
||||
|
@ -22,7 +22,7 @@ PreReq: %fillup_prereq %insserv_prereq
|
||||
%endif
|
||||
AutoReqProv: on
|
||||
Version: 2.02.33
|
||||
Release: 1
|
||||
Release: 4
|
||||
Summary: LVM2 Tools
|
||||
Source: LVM2.%{version}.tar.bz2
|
||||
Source1: lvm.conf
|
||||
@ -35,6 +35,7 @@ Patch4: sys_mount_instead_linux_fs.diff
|
||||
Patch5: pvscan_2TB_limit.diff
|
||||
Patch6: man_page_sectors.diff
|
||||
Patch10: lvm-no_chown.diff
|
||||
Patch11: cmdline_large_minor.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -191,6 +192,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man8/vgsplit.8.gz
|
||||
|
||||
%changelog
|
||||
* Wed Feb 20 2008 fehr@suse.de
|
||||
- allow large minor number on command line with option --minor
|
||||
(bnc#362960)
|
||||
* Wed Feb 13 2008 fehr@suse.de
|
||||
- update to new version 2.02.33
|
||||
Fix mirror log name construction during lvconvert. (2.02.30)
|
||||
|
Loading…
Reference in New Issue
Block a user