diff options
| author | Mathias Rav <[email protected]> | 2017-05-18 22:49:21 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-03 17:32:41 +0900 |
| commit | 8b23093269c84b0da1201e1949c91d0beb9892ef (patch) | |
| tree | 56801d1818cb91ec7532cf99981f3a8c61defa80 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 93e7ea8ca0ba8959ccd8e7555fe2c3cb3a2530e5 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions