From: Alex Elder Date: Tue, 19 Feb 2013 18:25:56 +0000 (-0600) Subject: rbd: eliminate sparse warnings X-Git-Tag: v3.9-rc1~41^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc344fa1b541b116190291d366583585f03d0fe6;p=pandora-kernel.git rbd: eliminate sparse warnings Fengguang Wu reminded me that there were outstanding sparse reports in the ceph and rbd code. This patch fixes these problems in rbd that lead to those reports: - Convert functions that are never referenced externally to have static scope. - Add a lockdep annotation to rbd_request_fn(), because it releases a lock before acquiring it again. This partially resolves: http://tracker.ceph.com/issues/4184 Reported-by: Fengguang Wu Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed