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)
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>

No differences found