]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
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)
commitbbb52f2b1dd049a15323d7bccde50e5818abd175
tree83714bb95aab2869112eb7d5f7237342fcdc70ff
parentde44e46fd4703ea286987d1d0cf775efa62700fd
Increase buffer for sysfs path

'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>
sysfs.c