]> git.karo-electronics.de Git - linux-beck.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>
Thu, 17 Jan 2013 20:09:29 +0000 (14:09 -0600)
commit06ecc6cbf7a60cd5abd9fd2bda8ae69b395c2be3
tree610f63f8ac47f0ce6e33fed2b784e5b259515ea6
parentdd5f049dbdf973d9bceebef1fd73647a5ede6732
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>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c