mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
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>
This commit is contained in:
parent
3c5df89367
commit
bef95455a4
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue