• Tejun Heo's avatar
    blkcg: simplify blkg_conf_prep() · 726fa694
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    726fa694