devlink: send notifications for deleted snapshots on region destroy
authorJiri Pirko <jiri@mellanox.com>
Mon, 12 Aug 2019 12:28:31 +0000 (14:28 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 13 Aug 2019 21:55:46 +0000 (14:55 -0700)
commit92b49822288134b4cd17a2c02a15ad265b9b327c
treefe5fc208afaf2c411e17af14e8ec12ea00dc2289
parent53f6f391786e01bf2050c03d8a36d9defdcc2831
devlink: send notifications for deleted snapshots on region destroy

Currently the notifications for deleted snapshots are sent only in case
user deletes a snapshot manually. Send the notifications in case region
is destroyed too.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/core/devlink.c