summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2020-03-26 19:37:09 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-27 03:39:26 +0100
commita0a09f6bb2c1501e24246edf2a7d42558d263b2b (patch)
tree103b9278bb7f89a40aa2ecde3251eb7b1c0eb77b /mm
parentdevlink: prepare to support region operations (diff)
downloadlinux-a0a09f6bb2c1501e24246edf2a7d42558d263b2b.tar.xz
linux-a0a09f6bb2c1501e24246edf2a7d42558d263b2b.zip
devlink: convert snapshot destructor callback to region op
It does not makes sense that two snapshots for a given region would use different destructors. Simplify snapshot creation by adding a .destructor op for regions. This operation will replace the data_destructor for the snapshot creation, and makes snapshot creation easier. Noticed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions