rbd: add warnings to rbd_dev_probe_update_spec()
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:12:46 +0000 (14:12 -0600)
commit935dc89f3e29e2ef1d7c89778cdb9f37ff36e94b
treefbafa1643cc38dd3f1af464a16897c40d05c3453
parentf5400b7a0e78a53edce8960a079aa022640849a1
rbd: add warnings to rbd_dev_probe_update_spec()

Josh suggested adding warnings to this function to help users
diagnose problems.

Other than memory allocatino errors, there are two places where
errors can be returned.  Both represent problems that should
have been caught earlier, and as such might well have been
handled with BUG_ON() calls.  But if either ever did manage to
happen, it will be reported.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c
This page took 0.026516 seconds and 5 git commands to generate.