From: Alex Elder Date: Thu, 19 Jul 2012 14:09:27 +0000 (-0500) Subject: rbd: simplify __rbd_remove_all_snaps() X-Git-Tag: v3.6-rc1~36^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05932905695f8c6c06d353ecd52c8e5d607cc77;p=pandora-kernel.git rbd: simplify __rbd_remove_all_snaps() This just replaces a while loop with list_for_each_entry_safe() in __rbd_remove_all_snaps(). Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed