dm cache metadata: remove unused struct 'thunk'
'thunk' has been unused since commit f177940a8091 ("dm cache metadata: switch to using the new cursor api for loading metadata"). Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
parent
babe69e86d
commit
c1a66a37d6
@ -1282,15 +1282,6 @@ int dm_cache_insert_mapping(struct dm_cache_metadata *cmd,
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct thunk {
|
|
||||||
load_mapping_fn fn;
|
|
||||||
void *context;
|
|
||||||
|
|
||||||
struct dm_cache_metadata *cmd;
|
|
||||||
bool respect_dirty_flags;
|
|
||||||
bool hints_valid;
|
|
||||||
};
|
|
||||||
|
|
||||||
static bool policy_unchanged(struct dm_cache_metadata *cmd,
|
static bool policy_unchanged(struct dm_cache_metadata *cmd,
|
||||||
struct dm_cache_policy *policy)
|
struct dm_cache_policy *policy)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user