Re: [PATCH 09/12] rdma: use __anon_inode_getfd

2020-05-08 Thread Jason Gunthorpe
On Fri, May 08, 2020 at 05:36:31PM +0200, Christoph Hellwig wrote: > Use __anon_inode_getfd instead of opencoding the logic using > get_unused_fd_flags + anon_inode_getfile. > > Signed-off-by: Christoph Hellwig > --- > drivers/infiniband/core/rdma_core.c | 17 - > 1 file changed,

[PATCH 09/12] rdma: use __anon_inode_getfd

2020-05-08 Thread Christoph Hellwig
Use __anon_inode_getfd instead of opencoding the logic using get_unused_fd_flags + anon_inode_getfile. Signed-off-by: Christoph Hellwig --- drivers/infiniband/core/rdma_core.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/infiniband/core/rdma_core