]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commita7ffb6a53391c2690263675f13c79a273301d2b3
tree11a4c5f5cd92230635021bb3b5f6a8b1ed0fa8f1
parent895b47d7989af3aacea16380b190b1bb8f046362
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>
drivers/md/dm-table.c
drivers/md/dm.h