diff options
author | 2013-11-28 14:54:26 -0500 | |
---|---|---|
committer | 2013-11-29 17:48:14 -0800 | |
commit | d19b9846df64d8845be682b6318bd1aee246cf60 (patch) | |
tree | 688842d196ae287bce080fe2e13ca00e796c8a06 /fs/kernfs/inode.c | |
parent | sysfs, kernfs: remove sysfs_add_one() (diff) | |
download | wireguard-linux-d19b9846df64d8845be682b6318bd1aee246cf60.tar.xz wireguard-linux-d19b9846df64d8845be682b6318bd1aee246cf60.zip |
sysfs, kernfs: add kernfs_ops->seq_{start|next|stop}()
kernfs_ops currently only supports single_open() behavior which is
pretty restrictive. Add optional callbacks ->seq_{start|next|stop}()
which, when implemented, are invoked for seq_file traversal. This
allows full seq_file functionality for kernfs users. This currently
doesn't have any user and doesn't change any behavior.
v2: Refreshed on top of the updated "sysfs, kernfs: prepare read path
for kernfs".
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs/inode.c')
0 files changed, 0 insertions, 0 deletions