]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcf3c5c47bae717c72e5c2eaa9c5de5c5c3669a81
treeea5a0ab329dbe43531c3b713536e45491e1cb51f
parent39cd9bafeaa6c656a12dd4c862ed1ecb22ebaf65
[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