diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2014-07-10 18:23:07 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-08-01 18:30:34 +0200 |
commit | a7ffb6a53391c2690263675f13c79a273301d2b3 (patch) | |
tree | 11a4c5f5cd92230635021bb3b5f6a8b1ed0fa8f1 /drivers/md/dm.h | |
parent | dm cache metadata: use dm-space-map-metadata.h defined size limits (diff) | |
download | linux-a7ffb6a53391c2690263675f13c79a273301d2b3.tar.xz linux-a7ffb6a53391c2690263675f13c79a273301d2b3.zip |
dm table: make dm_table_supports_discards static
The function dm_table_supports_discards is only called from
dm-table.c:dm_table_set_restrictions(). So move it above
dm_table_set_restrictions and make it static.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r-- | drivers/md/dm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index ed76126aac54..e81d2152fa68 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -72,7 +72,6 @@ int dm_table_any_busy_target(struct dm_table *t); unsigned dm_table_get_type(struct dm_table *t); struct target_type *dm_table_get_immutable_target_type(struct dm_table *t); bool dm_table_request_based(struct dm_table *t); -bool dm_table_supports_discards(struct dm_table *t); void dm_table_free_md_mempools(struct dm_table *t); struct dm_md_mempools *dm_table_get_md_mempools(struct dm_table *t); |