Implementing support for reverting a volume to a snapshot