dm thin metadata: only check incompat features on open
authorMike Snitzer <snitzer@redhat.com>
Fri, 27 Jul 2012 14:08:13 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:13 +0000 (15:08 +0100)
commitd73ec52538041f29a8ae22bc72521222279439b9
tree2bd99685c1e5b67f7486920d97d65295e4d61508
parentb79399510888998778ea6a3a281e30cbe59fdb37
dm thin metadata: only check incompat features on open

Factor out __check_incompat_features and only call it once when we open
the metadata device rather than at the beginning of every transaction.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin-metadata.c