]> git.baikalelectronics.ru Git - kernel.git/commit
fs: seq_file - add event counter to simplify poll() support
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 12 Jul 2011 18:48:39 +0000 (20:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 00:47:50 +0000 (20:47 -0400)
commit35d7b1e20eeffd6a3773e06b39bbbb1960a7cec6
treebf43b38b60c21bd01b007c9636062783d406eb29
parent461f5b8df51b767d00d3e4446e95d76fafc4777a
fs: seq_file - add event counter to simplify poll() support

Moving the event counter into the dynamically allocated 'struc seq_file'
allows poll() support without the need to allocate its own tracking
structure.

All current users are switched over to use the new counter.

Requested-by: Andrew Morton akpm@linux-foundation.org
Acked-by: NeilBrown <neilb@suse.de>
Tested-by: Lucas De Marchi lucas.demarchi@profusion.mobi
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/md/md.c
fs/namespace.c
fs/proc/base.c
include/linux/mnt_namespace.h
include/linux/seq_file.h
mm/swapfile.c