]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IB/uverbs: Use alloc_file() instead of get_empty_filp()
authorRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:01:08 +0000 (21:01 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:01:08 +0000 (21:01 -0700)
commita7dab9e887ce37391f004ffd6ce0ffed7272fd69
tree641653c9d0943722fe9c099adee3089ad293e0dd
parent1ae5c187acb67c2929428479c23a79c4288f0c68
IB/uverbs: Use alloc_file() instead of get_empty_filp()

Christoph Hellwig wants to unexport get_empty_filp(), which is an ugly
internal interface.  Change the modular user in ib_uverbs_alloc_event_file()
to use the better alloc_file() interface; this makes the code cleaner too.

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