aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-04-24 04:11:40 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 00:44:43 -0400
commite27ecdd94d81e5bc3d1f68591701db5adb342f0d (patch)
treef053d06177c18796c6d09fd42765d262f9462c92 /fs/cachefiles
parent97d7b7a41bd462abceee7dbb2b3afacfd52438ed (diff)
nls: utf8_wcstombs: use correct buffer size in error case
When utf8_wcstombs encounters a character that cannot be encoded, we must not decrease the remaining output buffer size because nothing has been written to the output buffer. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions