From: Alex Elder Date: Thu, 30 Aug 2012 19:42:15 +0000 (-0500) Subject: rbd: simplify snap_by_name() interface X-Git-Tag: v3.7-rc1~90^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8836b995fd192dba23d312d2a4fba68dd8ca7183;p=pandora-kernel.git rbd: simplify snap_by_name() interface There is only one caller of snap_by_name(), and it passes two values to be assigned, both of which are found within an rbd device structure. Change the interface so it just passes the address of the rbd_dev, and make the assignments to its fields directly. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed