dm table: make dm_table_supports_discards static
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 10 Jul 2014 16:23:07 +0000 (12:23 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 1 Aug 2014 16:30:34 +0000 (12:30 -0400)
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>
drivers/md/dm-table.c
drivers/md/dm.h

Simple merge
diff --cc drivers/md/dm.h
Simple merge