From: Sage Weil Date: Sun, 9 Jun 2013 15:40:39 +0000 (-0700) Subject: rbd: fix a couple warnings X-Git-Tag: v3.11-rc1~69^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e976cad0f0dbe5440a4ca38e29e1f932d9319125;p=pandora-kernel.git rbd: fix a couple warnings gcc isn't quite smart enough and generates these warnings: drivers/block/rbd.c: In function 'rbd_img_request_fill': drivers/block/rbd.c:1266:22: warning: 'bio_list' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/block/rbd.c:2186:14: note: 'bio_list' was declared here drivers/block/rbd.c:2247:10: warning: 'pages' may be used uninitialized in this function [-Wmaybe-uninitialized] even though they are initialized for their respective code paths. Signed-off-by: Sage Weil --- Reading git-diff-tree failed