vfio: fix crash on rmmod
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 5 Jun 2013 14:54:16 +0000 (08:54 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 5 Jun 2013 14:54:16 +0000 (08:54 -0600)
devtmpfs_delete_node() calls devnode() callback with mode==NULL but
vfio still tries to write there.

The patch fixes this.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>

No differences found