commit | a05932905695f8c6c06d353ecd52c8e5d607cc77 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Jul 19 09:09:27 2012 -0500 |
committer | Sage Weil <sage@inktank.com> | Mon Jul 30 18:15:45 2012 -0700 |
tree | ea85e30f75e5821577186a5b190d6881458d06b2 | |
parent | a66f8c97a31fd7b2cfd7b86d4789858dbfbedffb [diff] |
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 <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>