devlink: correct misspelling of snapshot
The function to obtain a unique snapshot id was mistakenly typo'd as devlink_region_shapshot_id_get. Fix this typo by renaming the function and all of its users. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a5c3a7c0ce
commit
b0efcae5e1
@@ -53,7 +53,7 @@ static ssize_t nsim_dev_take_snapshot_write(struct file *file,
|
||||
|
||||
get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE);
|
||||
|
||||
id = devlink_region_shapshot_id_get(priv_to_devlink(nsim_dev));
|
||||
id = devlink_region_snapshot_id_get(priv_to_devlink(nsim_dev));
|
||||
err = devlink_region_snapshot_create(nsim_dev->dummy_region,
|
||||
dummy_data, id, kfree);
|
||||
if (err) {
|
||||
|
Reference in New Issue
Block a user