]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Increase buffer for sysfs path
authorTomasz Majchrzak <tomasz.majchrzak@intel.com>
Fri, 28 Oct 2016 08:35:50 +0000 (10:35 +0200)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 17 Nov 2016 14:43:44 +0000 (09:43 -0500)
'unacknowledged_bad_blocks' is a long name for sysfs property and it
makes sysfs path over 50 characters long. Increase buffer to the double
length of the longest path available in sysfs at the moment.

Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>

No differences found