diff options
author | David Hildenbrand <david@redhat.com> | 2020-02-05 17:34:01 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-02-06 03:40:27 -0500 |
commit | 1ad6f58ea9364b0a5d8ae06249653ac9304a8578 (patch) | |
tree | 86e35b319d9c0cb2318d2168b6341593ace8981b /drivers/scsi/aic94xx | |
parent | 6c22dc61c76b7e7d355f1697ba0ecf26d1334ba6 (diff) | |
download | linux-1ad6f58ea9364b0a5d8ae06249653ac9304a8578.tar.gz linux-1ad6f58ea9364b0a5d8ae06249653ac9304a8578.tar.bz2 linux-1ad6f58ea9364b0a5d8ae06249653ac9304a8578.zip |
virtio_balloon: Fix memory leaks on errors in virtballoon_probe()
We forget to put the inode and unmount the kernfs used for compaction.
Fixes: 71994620bb25 ("virtio_balloon: replace oom notifier with shrinker")
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Wei Wang <wei.w.wang@intel.com>
Cc: Liang Li <liang.z.li@intel.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20200205163402.42627-3-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/scsi/aic94xx')
0 files changed, 0 insertions, 0 deletions