]> git.ipfire.org Git - thirdparty/mdadm.git/commit
sysfs: avoid possible data corruption in sys_load.
authorNeilBrown <neilb@suse.de>
Fri, 18 Jul 2008 06:37:18 +0000 (16:37 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 18 Jul 2008 06:37:18 +0000 (16:37 +1000)
commit8dfb8619f928d58ac7369c42e9f94dd0dabfed4b
tree597f328125b904bc1d4855840b07c66ecbebe6a0
parent7364918895b6b014d1a675c38973845cdf3baf41
sysfs: avoid possible data corruption in sys_load.

Don't retry to remove a newline from the end of an empty string.

Signed-off-by: Neil Brown <neilb@suse.de>
sysfs.c