From: KAMEZAWA Hiroyuki Date: Fri, 23 Mar 2012 22:02:55 +0000 (-0700) Subject: seq_file: add seq_set_overflow(), seq_overflow() X-Git-Tag: v3.4-rc1~109^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e075f59152890ffd7e3d704afc997dd686c8a781;p=pandora-kernel.git 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. [akpm@linux-foundation.org: tweak code comment] Signed-off-by: KAMEZAWA Hiroyuki Cc: Eric Dumazet Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed