aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/kernfs/inode.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-11-28 14:54:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-29 17:48:14 -0800
commitd19b9846df64d8845be682b6318bd1aee246cf60 (patch)
tree688842d196ae287bce080fe2e13ca00e796c8a06 /fs/kernfs/inode.c
parentsysfs, kernfs: remove sysfs_add_one() (diff)
downloadwireguard-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