summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMathias Rav <mathiasrav@gmail.com>2017-05-18 22:49:21 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 17:32:41 +0900
commit8b23093269c84b0da1201e1949c91d0beb9892ef (patch)
tree56801d1818cb91ec7532cf99981f3a8c61defa80 /tools/perf/scripts/python/bin
parent93e7ea8ca0ba8959ccd8e7555fe2c3cb3a2530e5 (diff)
downloadlinux-8b23093269c84b0da1201e1949c91d0beb9892ef.tar.gz
linux-8b23093269c84b0da1201e1949c91d0beb9892ef.zip
staging: lustre: Use kstrtouint_from_user in ldlm_rw_uint
Clean up the helper functions used to implement "dump_granted_max" in debugfs. Replace the lprocfs_rd_uint() and lprocfs_wr_uint() generic callbacks with a simpler, more direct implementation of ldlm_rw_uint_fops. There's a slight change in lustre debugfs write semantics: Using kstrtox causes EINVAL when the written number is followed by other (garbage) characters, whereas previously the garbage would be ignored and such a write would succeed. Signed-off-by: Mathias Rav <mathiasrav@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions