diff options
author | 2016-11-21 00:46:48 -0500 | |
---|---|---|
committer | 2016-11-21 11:13:14 +0100 | |
commit | 8d130c3b0fb6d7eddbe985ff941845f70b043957 (patch) | |
tree | 68d150ae60d04d968c4fd65a80b51006b38f4651 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: vt6656: Fix coding style warnings on Block comments (diff) | |
download | linux-dev-8d130c3b0fb6d7eddbe985ff941845f70b043957.tar.xz linux-dev-8d130c3b0fb6d7eddbe985ff941845f70b043957.zip |
staging/lustre: Use proper number of bytes in copy_from_user
This patch removes the usage of MAX_STRING_SIZE from
copy_from_user() and just copies enough bytes to cover
count passed in.
Signed-off-by: Jian Yu <jian.yu@intel.com>
Reviewed-on: http://review.whamcloud.com/23462
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8774
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions