]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
rbd: define and use rbd_warn()
authorAlex Elder <elder@dreamhost.com>
Thu, 1 Nov 2012 15:17:15 +0000 (10:17 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 19 Nov 2012 23:37:48 +0000 (17:37 -0600)
commit3f1ee28c5305638fbb173c7c0325dc50a9caaaa5
tree3b3a09594d58087c3aa4887ec9f4c4c5032ccaea
parent15c8ca6c94f92017e5c91d5aba849d2fcab0e011
rbd: define and use rbd_warn()

Define a new function rbd_warn() that produces a boilerplate warning
message, identifying in the resulting message the affected rbd
device in the best way available.  Use it in a few places that now
use pr_warning().

Signed-off-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c