]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Tue, 16 Jul 2013 09:56:12 +0000 (17:56 +0800)
committerBenjamin LaHaise <bcrl@kvack.org>
Tue, 16 Jul 2013 13:32:17 +0000 (09:32 -0400)
Introduce a new lib function anon_inode_getfile_private(), it creates a new file
instance by hooking it up to an anonymous inode, and a dentry that describe the
"class" of the file, similar to anon_inode_getfile(), but each file holds a
single inode. Furthermore, anyone who wants to create a private anon file will
benefit from this change.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>

No differences found