aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2008-10-19 03:28:20 +0000
committerLinus Torvalds <[email protected]>2008-10-20 15:52:39 +0000
commit30e8e13603c247c301fdacabef2a765c84840994 (patch)
tree753425750bb70f84ae621fa8f0624781557887cb /lib/bitmap.c
parentseq_file: add seq_cpumask_list(), seq_nodemask_list() (diff)
downloadkernel-30e8e13603c247c301fdacabef2a765c84840994.tar.gz
kernel-30e8e13603c247c301fdacabef2a765c84840994.zip
cpuset: use seq_*mask_* to print masks
1) seq_file excepts that m->count == m->size when it's buf is full, so current code will causes bugs when buf is overflow. 2) There is not too good that cpuset accesses struct seq_file's fields directly. Signed-off-by: Lai Jiangshan <[email protected]> Cc: Alexey Dobriyan <[email protected]> Acked-by: Paul Menage <[email protected]> Cc: Paul Jackson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions