linux/fs/kernfs
Tejun Heo 0e67db2f9f kernfs: add kernfs_ops->open/release() callbacks
Add ->open/release() methods to kernfs_ops.  ->open() is called when
the file is opened and ->release() when the file is either released or
severed.  These callbacks can be used, for example, to manage
persistent caching objects over multiple seq_file iterations.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Acked-by: Zefan Li <lizefan@huawei.com>
2016-12-27 14:49:03 -05:00
..
dir.c kernfs: add kernfs_ops->open/release() callbacks 2016-12-27 14:49:03 -05:00
file.c kernfs: add kernfs_ops->open/release() callbacks 2016-12-27 14:49:03 -05:00
inode.c kernfs: Declare two local data structures static 2016-11-29 20:58:31 +01:00
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
kernfs-internal.h kernfs: add kernfs_ops->open/release() callbacks 2016-12-27 14:49:03 -05:00
Makefile
mount.c kernfs: Switch to generic xattr handlers 2016-10-06 22:17:38 -04:00
symlink.c vfs: remove ".readlink = generic_readlink" assignments 2016-12-09 16:45:04 +01:00