git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8b31d
)
blkcg: simplify blkg_conf_prep()
author
Tejun Heo
<tj@kernel.org>
Sun, 1 Apr 2012 21:38:43 +0000
(14:38 -0700)
committer
Tejun Heo
<tj@kernel.org>
Sun, 1 Apr 2012 21:38:43 +0000
(14:38 -0700)
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>
block/blk-cgroup.c
patch
|
blob
|
history
diff --cc
block/blk-cgroup.c
Simple merge