aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2012-03-23 22:02:55 +0000
committerLinus Torvalds <[email protected]>2012-03-23 23:58:42 +0000
commite075f59152890ffd7e3d704afc997dd686c8a781 (patch)
tree94dbf5eda32d7dea9821ca308c4317e75756f7bd /lib/string_helpers.c
parentproc-ns: use d_set_d_op() API to set dentry ops in proc_ns_instantiate(). (diff)
downloadkernel-e075f59152890ffd7e3d704afc997dd686c8a781.tar.gz
kernel-e075f59152890ffd7e3d704afc997dd686c8a781.zip
seq_file: add seq_set_overflow(), seq_overflow()
It is undocumented but a seq_file's overflow state is indicated by m->count == m->size. Add seq_set_overflow() and seq_overflow() to set/check overflow status explicitly. Based on an idea from Eric Dumazet. [[email protected]: tweak code comment] Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions