summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorJeroen Hofstee <[email protected]>2014-06-09 15:29:00 +0200
committerTom Rini <[email protected]>2014-06-11 16:27:05 -0400
commit46a5707d9c2eefa23e88f7c63999adb9190c5b46 (patch)
tree7f2c704d8837f90d8d095dd435bfb6ffab96abb0 /include/linux/linux_string.h
parent8b9cc866c10787b057b4ac91c8783cfa752f1151 (diff)
ext4: correctly zero filename
Since ALLOC_CACHE_ALIGN_BUFFER declares a char* for filename sizeof(filename) is not the size of the buffer. Use the already known length instead. cc: Uma Shankar <[email protected]> cc: Manjunatha C Achar <[email protected]> cc: Marek Vasut <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> Acked-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions