diff options
| author | weiping zhang <[email protected]> | 2017-12-06 13:59:16 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2017-12-07 16:30:50 +0000 |
| commit | 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5 (patch) | |
| tree | 38ef83887dd988fe7ea05a07d0f3ec1ac8461c26 /fs/jbd2/commit.c | |
| parent | virtio_balloon: fix increment of vb->num_pfns in fill_balloon() (diff) | |
| download | kernel-7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5.tar.gz kernel-7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5.zip | |
virtio_mmio: add cleanup for virtio_mmio_probe
As mentioned at drivers/base/core.c:
/*
* NOTE: _Never_ directly free @dev after calling this function, even
* if it returned an error! Always use put_device() to give up the
* reference initialized in this function instead.
*/
so we don't free vm_dev until vm_dev.dev.release be called.
Signed-off-by: weiping zhang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
