diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-04-12 03:07:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 21:17:41 +0200 |
commit | 3f0dccf86cab38d96b67efdfc944954f5490d057 (patch) | |
tree | 9316e36f19dc55631308b3dc04cc869ad8ac3a90 /drivers/hv/hv_utils_transport.c | |
parent | Drivers: hv: fcopy: switch to using the hvutil_device_state state machine (diff) | |
download | linux-3f0dccf86cab38d96b67efdfc944954f5490d057.tar.xz linux-3f0dccf86cab38d96b67efdfc944954f5490d057.zip |
Drivers: hv: fcopy: set .owner reference for file operations
Get an additional reference otherwise a crash is observed when hv_utils module is being unloaded while
fcopy daemon is still running. .owner gives us an additional reference when
someone holds a descriptor for the device.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Tested-by: Alex Ng <alexng@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv_utils_transport.c')
0 files changed, 0 insertions, 0 deletions