commit | bef95455a44e2533fcea376740bb1a5cbd71269f | [log] [tgz] |
---|---|---|
author | Josh Durgin <josh.durgin@inktank.com> | Fri Apr 04 17:47:52 2014 -0700 |
committer | Ilya Dryomov <idryomov@redhat.com> | Tue Oct 14 21:03:32 2014 +0400 |
tree | efa29053bad92a2b961dbc702351f73e7e27678a | |
parent | 3c5df89367761d09d76454a2c4301a73bf2d46ce [diff] |
rbd: fix snapshot context reference count for discards Discards take a reference to the snapshot context of an image when they are created. This reference needs to be cleaned up when the request is done just as it is for regular writes. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>