diff options
author | Shaohua Li <shli@fb.com> | 2017-05-19 18:04:59 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-19 18:21:15 +0300 |
commit | 5f3394530fbe90d3bcd1c204618960bc50236578 (patch) | |
tree | fb7425b6f00ef9186ab270bb13149c2d8881434f /fs/nfs_common/nfsacl.c | |
parent | 69c8ebf83213e6165b13d94ec599b861467ee2dc (diff) | |
download | linux-5f3394530fbe90d3bcd1c204618960bc50236578.tar.xz |
blktrace: fix integer parse
sscanf is a very poor way to parse integer. For example, I input
"discard" for act_mask, it gets 0xd and completely messes up. Using
correct API to do integer parse.
This patch also makes attributes accept any base of integer.
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/nfs_common/nfsacl.c')
0 files changed, 0 insertions, 0 deletions