From: Alex Elder Date: Thu, 9 May 2013 03:50:04 +0000 (-0500) Subject: rbd: define parent image request routines X-Git-Tag: v3.10-rc2~28^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e93f3152357ca75284284bef8eeea7d45fe1bab1;p=pandora-kernel.git rbd: define parent image request routines Define rbd_parent_request_create() and rbd_parent_request_destroy() to handle the creation of parent image requests submitted for layered image objects. For simplicity, let rbd_img_request_put() handle dropping the reference to any image request (parent or not), and call whichever destructor is appropriate on the last put. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed