From: Alex Elder Date: Thu, 1 Nov 2012 15:17:15 +0000 (-0500) Subject: rbd: add warnings to rbd_dev_probe_update_spec() X-Git-Tag: v3.9-rc1~41^2~21^2~59^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=935dc89f3e29e2ef1d7c89778cdb9f37ff36e94b;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed