commit | 726fa6945e6e5f0389bf47a790e1df734a67de54 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Apr 01 14:38:43 2012 -0700 |
committer | Tejun Heo <tj@kernel.org> | Sun Apr 01 14:38:43 2012 -0700 |
tree | 7119107ef544ccde91bdd6a116b4bdabc15e4bbd | |
parent | 3a8b31d396b296df4b8594429d86d415d3409432 [diff] |
blkcg: simplify blkg_conf_prep() blkg_conf_prep() implements "MAJ:MIN VAL" parsing manually, which is unnecessary. Just use sscanf("%u:%u %llu"). This might not reject some malformed input (extra input at the end) but we don't care. Signed-off-by: Tejun Heo <tj@kernel.org>