IB/uverbs: Use anon_inodes instead of private infinibandeventfs
authorRoland Dreier <rolandd@cisco.com>
Thu, 25 Feb 2010 00:51:20 +0000 (16:51 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 25 Feb 2010 00:51:20 +0000 (16:51 -0800)
commita265e5587f078618c1f17c3a83da65046f18746f
treec2de5a76d93353c564348f3052a4ef17316c3754
parent920d706c892e8f8cfff95f46aeb95fc6344f0bd5
IB/uverbs: Use anon_inodes instead of private infinibandeventfs

The anon_inodes interface has been split to allow creating a bare
(non-installed) file pointer and also extended to allow specifying
O_RDONLY in the flags.  This makes it a suitable replacement for the
private "infinibandeventfs" pseudo-filesystem used by uverbs, and this
replacement saves a small chunk of boilerplate code.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/Kconfig
drivers/infiniband/core/uverbs_main.c