Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 216812 Details for
Bug 301396
sys-fs/mdadm-3.1.1 grow fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mdadm-3.1.1-grow-arraysize-fix.patch
mdadm-3.1.1-grow-arraysize-fix.patch (text/plain), 472 bytes, created by
Torsten Kurbad
on 2010-01-18 16:35:41 UTC
(
hide
)
Description:
mdadm-3.1.1-grow-arraysize-fix.patch
Filename:
MIME Type:
Creator:
Torsten Kurbad
Created:
2010-01-18 16:35:41 UTC
Size:
472 bytes
patch
obsolete
>diff -urN mdadm-3.1.1.orig/Grow.c mdadm-3.1.1/Grow.c >--- mdadm-3.1.1.orig/Grow.c 2009-11-19 06:13:29.000000000 +0100 >+++ mdadm-3.1.1/Grow.c 2010-01-18 17:07:40.776572516 +0100 >@@ -891,7 +891,7 @@ > } > > /* Check that we can hold all the data */ >- size = ndata * array.size; >+ size = ndata * (long long)array.size; > get_dev_size(fd, NULL, &array_size); > if (size < (array_size/1024)) { > fprintf(stderr, Name ": this change will reduce the size of the array.\n"
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 301396
:
216811
| 216812