From: Dan Williams Date: Thu, 25 Sep 2008 05:48:19 +0000 (-0700) Subject: md: fix input truncation in safe_delay_store() X-Git-Tag: v2.6.28-rc1~288^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97ce0a7f9caf9d715cee815a016ee21575f71c95;p=pandora-kernel.git md: fix input truncation in safe_delay_store() safe_delay_store() currently truncates the last character of input since it tells strlcpy that the buffer can only hold 'len' characters, off by one. sysfs already null terminates the buffer, so just increase the last argument to strlcpy. Signed-off-by: Dan Williams Signed-off-by: NeilBrown --- Reading git-diff-tree failed