diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-09-12 09:37:18 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-11-03 15:56:49 -0500 |
commit | 941c3ff3102ccce440034d59cf9e4e9cc10b720d (patch) | |
tree | 2c4fbe2ccfefef8f5daa60e88d98dd91301de1a7 /fs/seq_file.c | |
parent | 1ca843a2d28dec89e58e7227c27a9d55f21f59e1 (diff) | |
download | linux-941c3ff3102ccce440034d59cf9e4e9cc10b720d.tar.bz2 |
Sunrpc: Supports hexadecimal number for sysctl files of sunrpc debug
The sunrpc debug sysctl files only accept decimal number right now.
But all the XXXDBUG_XXX macros are defined as hexadecimal.
It is not easy to set or check an separate flag.
This patch let those files support accepting hexadecimal number,
(decimal number is also supported). Also, display it as hexadecimal.
v2,
Remove duplicate parsing of '0x...', just using simple_strtol(tmpbuf, &s, 0)
Fix a bug of isspace() checking after parsing
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions