From: Josh Durgin Date: Sat, 5 Apr 2014 00:47:52 +0000 (-0700) Subject: rbd: fix snapshot context reference count for discards X-Git-Tag: omap-for-v3.19/prcm-cleanup~68^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef95455a44e2533fcea376740bb1a5cbd71269f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed