Skip to content
Commit a0593290 authored by Alex Elder's avatar Alex Elder Committed by Sage Weil
Browse files

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: default avatarAlex Elder <elder@inktank.com>
Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
parent a66f8c97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment