Jacob Keller
cf80faee79
devlink: add function to take snapshot while locked
...
A future change is going to add a new devlink command to request
a snapshot on demand. This function will want to call the
devlink_region_snapshot_create function while already holding the
devlink instance lock.
Extract the logic of this function into a static function prefixed by
`__` to indicate that it is an internal helper function. Modify the
original function to be implemented in terms of the new locked
function.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com >
Reviewed-by: Jiri Pirko <jiri@mellanox.com >
Reviewed-by: Jakub Kicinski <kuba@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-03-26 19:39:26 -07:00
..
2019-07-06 12:50:01 +02:00
2019-09-27 15:10:34 -07:00
2020-02-24 13:02:53 -08:00
2020-02-17 14:30:54 -08:00
2019-09-24 16:37:18 +02:00
2020-02-04 03:05:26 +00:00
2020-01-09 18:41:40 -08:00
2020-03-12 22:34:48 -07:00
2020-03-18 12:25:03 +01:00
2020-03-04 13:41:06 -08:00
2020-03-14 20:58:10 -07:00
2020-03-20 08:52:20 -07:00
2020-03-11 22:55:25 -07:00
2019-12-08 11:52:02 +01:00
2020-02-08 13:26:41 -08:00
2020-03-26 19:39:26 -07:00
2020-02-29 15:53:35 -08:00
2020-03-23 21:57:44 -07:00
2019-07-10 18:43:43 -07:00
2020-03-25 18:58:11 -07:00
2020-01-27 11:09:31 +01:00
2020-03-25 18:58:11 -07:00
2020-03-25 18:58:11 -07:00
2020-03-03 13:28:48 -08:00
2019-09-26 08:56:17 +02:00
2020-03-25 18:58:11 -07:00
2020-03-23 21:57:44 -07:00
2019-12-09 10:36:44 -08:00
2020-03-16 17:14:02 -07:00
2019-07-08 19:48:57 -07:00
2020-02-28 12:08:37 -08:00
2020-02-26 20:38:13 -08:00
2020-03-20 14:42:21 +01:00
2020-02-28 12:08:37 -08:00
2020-03-23 20:53:25 -07:00
2020-01-09 18:36:22 -08:00
2020-03-25 18:58:11 -07:00
2020-02-18 12:44:23 -08:00
2020-03-25 18:58:11 -07:00
2020-02-24 13:26:49 -08:00
2020-03-12 22:34:48 -07:00
2020-03-12 22:34:48 -07:00
2020-03-15 00:25:25 -07:00
2020-01-03 12:25:50 -08:00
2019-11-26 14:40:13 -08:00
2020-03-03 17:52:21 -08:00
2020-02-16 18:37:09 -08:00
2019-12-16 10:15:49 +01:00
2020-01-26 10:40:21 +01:00
2020-03-13 23:04:35 +00:00
2020-03-26 19:20:37 -07:00
2020-03-12 22:34:48 -07:00
2020-03-12 22:34:48 -07:00
2020-02-13 15:35:33 -05:00
2020-02-26 20:58:33 -08:00
2020-03-26 11:21:02 -07:00
2020-03-21 20:08:17 -07:00
2020-02-28 12:12:53 -08:00
2020-02-27 18:31:39 -08:00
2019-08-10 15:25:47 -07:00
2020-03-20 14:42:20 +01:00
2020-02-16 18:59:42 -08:00
2020-02-28 12:08:37 -08:00
2020-03-23 21:57:44 -07:00
2019-11-15 14:38:29 +01:00
2020-03-25 12:24:33 -07:00
2020-01-24 13:44:07 +01:00
2020-03-20 08:48:36 -06:00