]> git.tuebingen.mpg.de Git - dss.git/commit
Clean up snapshot removal logic.
authorAndre Noll <maan@systemlinux.org>
Thu, 4 Jun 2009 11:47:35 +0000 (13:47 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 4 Jun 2009 11:47:35 +0000 (13:47 +0200)
commit360bcc95d588232d8c81e028464d9e23b356a193
tree343bd74f1abc52ac1407a16ba0376b3d02b0cf1d
parent0cea2bfa14a7641e6e8e88c177cdb3d10099596d
Clean up snapshot removal logic.

Replace the remove_xxx_snapshot() functions by find_xxx_snapshot()
and start the actual removal in the caller. This simplifies the
code a bit and makes it much more readable. It also simplifies the
--dry-run handling for com_prune().
dss.c