]> git.baikalelectronics.ru Git - kernel.git/commit
dm table: add more context to terse warning messages
authorMike Snitzer <snitzer@redhat.com>
Fri, 4 Sep 2009 19:40:24 +0000 (20:40 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 4 Sep 2009 19:40:24 +0000 (20:40 +0100)
commit239399ac7f9d1ca05077e19cb959a46ba815f01b
treed4204f64aaf23b7a1615f4f293358eca5125c748
parent7e05e6b4625d569d7ad92a0d36fd4001e0f9469e
dm table: add more context to terse warning messages

A couple of recent warning messages make it difficult for the reader to
determine exactly what is wrong.  This patch adds more information to
those messages.

The messages were added by these commits:
  9236fb1724320050f96a36a25fedefa7d35aa250 ("dm table: pass correct dev area size
to device_area_is_valid")
  03e0eef3b954816b0de71920654be523da0baee7 ("dm table: fix blk_stack_limits arg
to use bytes not sectors")

The patch also corrects references to logical_block_size in printk format
strings from %hu to %u.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c