Re: [PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Gu Zheng
Hi Ben, On 07/16/2013 09:16 PM, Benjamin LaHaise wrote: > On Tue, Jul 16, 2013 at 05:56:12PM +0800, Gu Zheng wrote: >> >> 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 >>

Re: [PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Benjamin LaHaise
On Tue, Jul 16, 2013 at 05:56:12PM +0800, Gu Zheng wrote: > > 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

[PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Gu Zheng
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

[PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Gu Zheng
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

Re: [PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Benjamin LaHaise
On Tue, Jul 16, 2013 at 05:56:12PM +0800, Gu Zheng wrote: 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

Re: [PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Gu Zheng
Hi Ben, On 07/16/2013 09:16 PM, Benjamin LaHaise wrote: On Tue, Jul 16, 2013 at 05:56:12PM +0800, Gu Zheng wrote: 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