]> err.no Git - linux-2.6/commit
IB/uverbs: Fix check of is_closed flag check in ib_uverbs_async_handler()
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 18 Jun 2008 22:36:38 +0000 (15:36 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jun 2008 22:36:38 +0000 (15:36 -0700)
commitfb77bcef9f7be78e3e11543cb5abbcb1b1fac53e
treef5e96f158e20f426d7c4a08c296ecb9cb3c95ece
parent24797a344293601f14f49e2d259c3ca447c4f802
IB/uverbs: Fix check of is_closed flag check in ib_uverbs_async_handler()

Commit 1ae5c187 ("IB/uverbs: Don't store struct file * for event
files") changed the way that closed files are handled in the uverbs
code.  However, after the conversion, is_closed flag is checked
incorrectly in ib_uverbs_async_handler().  As a result, no async
events are ever passed to applications.

Found by: Ronni Zimmerman <ronniz@mellanox.co.il>

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_main.c