Re: [PATCH/RFC 1/2] anon-inodes: Remove fd_install() from anon_inode_getfd()

Roland Dreier
2008-03-09T02:46:57Z

> No, the best interface is one where the driver doesn't even see
> inode or file. Of course that's not actually possible in a few
> nasty cases like the infiniband code, and for those it might be
> better to do the fd_isntall themselves.

Yeah, I've been thinking about this some more, and I think the IB case
can be cleaned up to use the current anonfd interface (and in fact
ignore the file pointer and inode it gets back).

I'll try to write a patch this week.

- R.