[FS] seq_file: Introduce the seq_open_private()
authorPavel Emelyanov <xemul@openvz.org>
Wed, 10 Oct 2007 09:28:42 +0000 (02:28 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:33 +0000 (16:55 -0700)
commit39699037a5c94d7cd1363dfe48a50c78c643fd9a
treeea5a0ab329dbe43531c3b713536e45491e1cb51f
parent59e90b2d22500f2e9cc635793562154abc8f4621
[FS] seq_file: Introduce the seq_open_private()

This function allocates the zeroed chunk of memory and
call seq_open(). The __seq_open_private() helper returns
the allocated memory to make it possible for the caller
to initialize it.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/seq_file.c
include/linux/seq_file.h